IupFill

Creates a Fill composition element, which dynamically occupies empty spaces always trying to expand itself. Its parent must be an IupHbox or an IupVbox. If an EXPAND is set on at least one of the other children of the box, then the Fill is ignored.

It does not have a native representation.

Creation

Ihandle* IupFill(void); [in C]
iup.fill{} -> elem: ihandle [in Lua]
fill() [in LED]

Returns: the identifier of the created element, or NULL if an error occurs.

Attributes

EXPAND (non inheritable): Ignored. If User size is not defined, then when inside a IupHbox EXPAND is HORIZONTAL, when inside a IupVbox EXPAND is VERTICAL. If User size is defined then EXPAND is NO.

SIZE / RASTERSIZE (non inheritable): Defines the width, if inside a IupHbox, or the height, if it is inside a IupVbox. When consulted behaves as the standard SIZE/RASTERSIZE attributes. The standard format "wxh" can also be used, but width will be ignored if inside a IupVbox and height will be ignored if inside a IupHbox (since 3.3).

WID (read-only): returns -1 if mapped.


FONT, POSITION, MINSIZE, MAXSIZE: also accepted.

Examples

Browse for Example Files

See Also

IupHbox, IupVbox.