Definition: |
include pGUI.e
Ihandle ih = IupBackgroundBox(Ihandln child=NULL, string attributes="", sequence data={}) |
Description: |
Creates a simple native container with no decorations.
Useful for controlling children visibility for IupZbox or IupExpander.
It inherits from IupCanvas.
child: Identifier of an interface element which will receive the box, can be NULL. For more information on the attributes and data parameters see IupSetAttributes. Returns: the identifier of the created element. |
Notes: |
The box can be created with no elements and filled dynamically using IupAppend() or IupInsert().
Inherits all attributes and callbacks of the IupCanvas, but redefines a few attributes. |
Attributes: | |
BGCOLOR | by default will use the background color of the native parent, but can be set to a custom value. |
BORDER | (creation only): the default value is "NO". |
CHILDOFFSET |
Allows the position offset for the child to be specified. Available for native containers only. It will not affect the natural size, and allows to position controls outside the client area. Format "dxxdy", where dx and dy are integer values corresponding to the horizontal and vertical offsets, respectively, in pixels. Default: 0x0. |
EXPAND | (non inheritable) behaves as a container. |
CANFOCUS | is set to NO. |
also | CLIENTSIZE: also accepted. |