|
|
Line 1: |
Line 1: |
− | __NOTOC__
| + | #REDIRECT [[IUP/Controls/IupVbox]] |
− | =IupVbox=
| + | |
− | | + | |
− | :Creates a vbox container for composing elements. It is a box that arranges the elements it contains, vertically and from the top down.
| + | |
− | | + | |
− | ===Creation===
| + | |
− | | + | |
− | :iup.vbox{'''elem1''', '''elem2''', ...: ihandle} -> ('''elem''': ihandle)
| + | |
− | | + | |
− | :'''elem1''', '''elem2''', ...: List of the identifiers that will be placed in the box.
| + | |
− | | + | |
− | :This function returns the identifier of the created vbox, nil if an error occurs.
| + | |
− | | + | |
− | ===Attributes===
| + | |
− | | + | |
− | :ALIGNMENT: Horizontally aligns the elements. Possible values: "ALEFT", "ACENTER", "ARIGHT". Default: "ALEFT".
| + | |
− | | + | |
− | :GAP: Defines a space, in pixels, between the interface elements. Default: "0".
| + | |
− | | + | |
− | :MARGIN: Defines a margin in pixels. Its value has the format "''widthxheight''", where ''width'' and ''height'' are integer values corresponding to the horizontal and vertical margins, respectively. Default: "0x0" (no margin).
| + | |
− | | + | |
− | :[[IUP/Attributes/Common/SIZE|SIZE]]: Height of the vbox. Default: smallest size that contains the children elements.
| + | |
− | | + | |
− | ===Note===
| + | |
− | | + | |
− | :The box can be created with no elements and be dynamic filled using [[IUP/Layout/IupAppend|IupAppend]].
| + | |
− | | + | |
− | ===Examples===
| + | |
− | | + | |
− | iupvbox.gif (7671 bytes)
| + | |
− | ===See Also===
| + | |
− | | + | |
− | :[[IUP/Layout/IupZbox|IupZbox]], [[IUP/Layout/IupHbox|IupHbox]]
| + | |