IUP-Go Documentation 4.0

CLIENTSIZE (read-only) (non-inheritable)

Returns the client area size of a container. It is the space available for positioning and sizing children, see the Layout Guide. It is the container Current size excluding the decorations (if any).

Value

"widthxheight", where width and height are integer values corresponding to the horizontal and vertical size, respectively, in pixels. If both values are 0 then "0x0" is returned.

Affects

All elements that are containers except menus.

Notes

For IupDialog it is NOT read-only, and it will re-define RASTERSIZE by adding the decorations to the given Client size. Before the dialog is mapped the decorations are an estimate, so the given Client size is remembered and RASTERSIZE is re-defined once the real decorations are known. Setting SIZE or RASTERSIZE afterwards discards it.

For IupHbox, IupVbox and IupGridBox it considers the MARGIN attribute as a decoration.

For IupSplit returns the total area available for the two children.

See Also

SIZE, RASTERSIZE, CLIENTOFFSET