Warning: file_put_contents(): Only -1 of 62 bytes written, possibly out of free disk space in /var/www/html/index.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 25
Prev   GtkWindow::get_position Next array get_position(); Returns the position of window with respect to its gravity. The will be returned as an containing x coordinate followed by y coordinate. If...
Forum und email

GtkWindow::get_position

array get_position();

Returns the position of the window with respect to its gravity. The position will be returned as an array containing the x coordinate followed by the y coordinate.

If the position has not been set explictly and the window has not yet been mapped to the screen, this method will return 0 for both coordinates.

See also: set_position() , position