Loading...
 

GetSize

GetSize

GetSize(windowID, childID), GetSize(windowID), GetSize(, childID), GetSize

parameters: Identifier of a Windows and a child Windows object

Stack
Stack Position Description
Stack(In) Top -
Stack(Out) Top Height
Width

Returns the current width and height of the window (in minicells). Since the widget size is given in Minicells, the widgets store their current position in pixels and the conversion Minicell -> Pixel -> Minicell is not exact due to rounding, it can happen, especially with very small Minicells, that different values are returned than the actual size given in the source code, because both values result in the same pixel value.

208532
Just like Resize , the size of a toplevel window is given in pixels, because minicells outside a window don't make much sense.

See also: