Method

GdkWindowmove

Declaration [src]

void
gdk_window_move (
  GdkWindow* window,
  gint x,
  gint y
)

Description [src]

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 gdk_window_move_resize() to both move and resize simultaneously, for a nicer visual effect.

Parameters

x

Type: gint

X coordinate relative to window’s parent.

y

Type: gint

Y coordinate relative to window’s parent.