IupSbox

IUP - Portable User Interface

IupSbox

Creates a split panel control. Allows the provided control to be enclosed in a box that allows resizing.

Creation

Ihandle* IupSbox(Ihandle* elem); [in C]
iupsbox{elem: iuplua_tag} -> (elem: iuplua_tag) [in IupLua3]
iup.sbox{elem: iuplua_tag} -> (elem: iuplua_tag) [in IupLua5]
sbox(elem) [in LED]

elem: This function receives as parameter the element that will be enclosed in a Sbox.

This function returns the created Sbox’s identifier, or NULL if an error occurs.

Attributes

DIRECTION: Indicates the direction of the resize. Possible values are:

"NORTH", "SOUTH", "EAST", "WEST".

COLOR: Changes the color of the Sbox’s thumb. The value should be given in "R G B" color style.

Notes

The controls that you want to be resized must have the EXPAND=YES attribute set.

Examples

Example 2 image