Definition: |
include pGUI.e
Ihandle ih = IupGLSizeBox(Ihandln child=NULL, string attributes="", sequence data={}) |
Description: |
Creates a void container that allows its child to be resized. Allows expanding and contracting the child size in one or two directions. It inherits from IupGLSubCanvas. It exists only inside an IupGLCanvasBox. child: Identifier of an interface element which will receive the box. It can be NULL. For more information on the attributes and data parameters see IupSetAttributes. Returns: the identifier of the created element. |
Notes: |
The control inside the IupGLSizeBox will have its User size changed. See the Layout Guide for mode details on sizes. IupGLSizeBox can make the layout to be resized larger than the IupGLCanvasBox size so some controls will be positioned outside the box area at right or bottom. In fact this is part of the dynamic layout default reposition of controls inside the box. See the IupRefresh function. The IUP layout does not have a maximum limit only a minimum, except if you use the MAXSIZE common attribute. The box can be created with no elements and be dynamic filled using IupAppend() or IupInsert. |
Attributes: | The IupGLScrollBox element handles all attributes defined for a IupGLSubCanvas control. |
FORECOLOR | Changes the color of the bar handler. The value should be given in "R G B" color style. Default: "192 192 192". |
RESIZERS |
Indicates the direction of the resize. Possible values are "VERTICAL", "HORIZONTAL", or "BOTH". Default: "BOTH". The handler is always placed at the right/bottom of its child. |
EXPAND | (non inheritable) The default value is "YES". |
also | CLIENTSIZE, CLIENTOFFSET: also accepted. |