IUP - Portable User Interface


Creates a zbox interface element. It is a box that piles up the elements it contains.


Ihandle* IupZbox (Ihandle *elem1, Ihandle *elem2,..., NULL); [in C]
iupzbox{elem1, elem2, ... : iuplua_tag} -> (elem: iuplua_tag) [in IupLua3]
iup.zbox{elem1, elem2, ... : iuplua_tag} -> (elem: iuplua_tag) [in IupLua5]
zbox(elem1, elem2,...) [in LED]

elem1, elem2, ...: List of the identifiers that will be placed in the box.

Note that, in C, NULL must be added as the last element, defining the end of the list.

This function returns the identifier of the created zbox, or NULL (nil in Lua) if an error occurs.


ALIGNMENT: Defines the alignment of the visible element. Possible values:

"NE", "SE", "NW", "SW",

Default: "NE".

MARGIN: Defines the margin of the visible element.

VALUE: Defines the visible element. The value passed must be the identifier of one of the elements contained in the zbox. Default: the first element.

SIZE: Defines the zbox size. Default: the smallest size that fits its largest element.


The box can be created with no elements and be dynamic filled using IupAppen.

Though this element can have attributes ALIGNMENT and MARGIN, it does not have attribute GAP.


iupzbox.gif (4205  bytes)

See Also

IupHbox, IupVBox