Expand/Shrink

IupSpace

Definition: include pGUI.e

Ihandle ih = IupSpace(string attributes="", dword_seq args={})
Description: Creates void element, which occupies an empty space. It does not have a native representation.

When an IupFill is inside a IupVbox or IupHbox it will affect the expansion of the box because it is always expandable.
Even when you set its size to a given value, it will still affect the layout, because it is always marked as an expandable element.

IupSpace will simply occupy a space in the layout.
It does not have a natural size, it is 0x0 by default.
It can be expandable or not, EXPAND will work as a regular element.
The attributes SIZE and RASTERSIZE can be normally set.

For more information on the attributes and args parameters see IupSetAttributes.

Returns: the identifier of the created element.
pwa/p2js: Not supported.
See Also: IupFill, IupHbox, IupVbox
Attributes:
WID (read-only) returns -1 if mapped.
also SIZE, RASTERSIZE, EXPAND, FONT, POSITION, THEME, MINSIZE, MAXSIZE: also accepted.