CreateView
Prototype: GemRB.CreateView (ControlID, Type, FrameRect[, OtherArgs])
Description: Creates a new empty view and returns it.
Parameters:
- ControlID - the desired control ID
- Type - the View’s type
- FrameRect - a dict with the View’s frame (origin and size)
- OtherArgs - further arguments depending on the View type
Examples:
view = CreateView (control, IE_GUI_SCROLLBAR, frame, CreateScrollbarARGs(bam))
See also: RemoveView, AddSubview, GetFrame
Return value: GView
Back to function index, GUIScript introduction.