Logo Search packages:      
Sourcecode: ardour version File versions

void Gtk::Window::set_gravity ( Gdk::Gravity  gravity  ) 

Window gravity defines the meaning of coordinates passed to move(). See move() and Gdk::Gravity for more details.

The default window gravity is Gdk::GRAVITY_NORTH_WEST which will typically "do what you mean."

Parameters:
gravity Window gravity.

Definition at line 621 of file window.cc.

References gobj().

{
  gtk_window_set_gravity(gobj(), ((GdkGravity)(gravity)));
}


Generated by  Doxygen 1.6.0   Back to index