IUP/Controls/IupCbox

From Vendetta Lua
Jump to: navigation, search


Controls

Dialog
Fill
Hbox
Vbox
Zbox
Cbox
Radio
Button
Canvas
Frame
Label
List
Multiline
Text
Toggle
Progress Bar
Matrix
Tree
Navmap

Creates a Cbox element. It is concrete layout container, i.e. its children are positioned in specified coordinates. The IupCbox inherits from the IupCanvas, so all the canvas attributes and callbacks are valid. The box must have a specified size. The IupCbox contains a IupHbox where all the children are inserted, but their positioning ignores the IupHbox.

Creation

  iup.cbox{elem1, elem2, ...: ihandle} -> (elem: ihandle)
elem1, elem2, ...: List of the elements that will be placed into Tabs.
This function returns the created Cbox's identifier, or nil if an error occurs. The order of the controls in the creation function is irrelevant.

Attributes

CX, CY: (children only) Position in pixels relative to the top-left corner of the box. Must be set for each child inside the box.
REFRESH: Refreshes the display. This will reposition any children whose CX or CY properties have changed. Possible values: "YES".

See Also

IupCanvas