GtkWindow::move

void move(int x, int y);

Requests that the window manager move the window to the given location.

The the location referenced by x and y depends upon the window's gravity. By default a window has north west gravity. This means that the top left corner of the window will be placed x pixels from the left edge of the screen and y pixels from the top edge of the screen.

This method simply requests that the window be moved. Call it does not necessarily mean that the window will be moved. To confirm that it has in fact been moved use get_position() .

To move the window to a relative positio, such as the center of the screen, use set_position() .

See also: set_gravity() get_position() set_position()