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