move


Description:

public void move (int x, int y)

Repositions a window relative to its parent window.

For toplevel windows, window managers may ignore or modify the move; you should probably use gtk_window_move on a GtkWindow widget anyway, instead of using GDK functions. For child windows, the move will reliably succeed.

If you’re also planning to resize the window, use move_resize to both move and resize simultaneously, for a nicer visual effect.

Parameters:

this

a Window

x

X coordinate relative to window’s parent

y

Y coordinate relative to window’s parent




2022 vala-language.org