Method

GtkWindowset_gravity

Declaration [src]

void
gtk_window_set_gravity (
  GtkWindow* window,
  GdkGravity gravity
)

Description [src]

Window gravity defines the meaning of coordinates passed to gtk_window_move(). See gtk_window_move() and GdkGravity for more details.

The default window gravity is #GDK_GRAVITY_NORTH_WEST which will typically “do what you mean.”

Sets propertyGtk.Window:gravity

Parameters

gravity GdkGravity
 

Window gravity.