"windowFrameGeometry"

This attribute holds the geometry of the window including the window frame.

Synopsis

this.windowFrameGeometry(int x, int y, int width, int height);

Parameter

Parameter Description
x x-Position des Fensters
y y-Position des Fensters
width Breite des Fensters
height Höhe des Fensters

Description

This attribute holds the geometry of the window including the window frame. It can be used to move or resize the window.

Can also be changed via the animate() function. In this case the four values must be stated as dyn_int element.

Cannot be used if the panel is located in an embedded moduel.

For a child panel the coordinates are relative to the parent panel.

If the geometry is queried before the panel is visible, the returned values are not correct as these values are asynchronously set by the window manager after the window is positioned, etc.

Example

main()
{
  this.windowFrameGeometry(0, 0, 400, 200);
}

Assignment

Panel