Logo Search packages:      
Sourcecode: ardour version File versions

void Gtk::Window::set_modal ( bool  modal = true  ) 

Sets a window modal or non-modal. Modal windows prevent interaction with other windows in the same application. To keep modal dialogs on top of main application windows, use set_transient_for() to make the dialog transient for the parent; most window managers will then disallow lowering the dialog below the parent.

modal Whether the window is modal.

Definition at line 762 of file window.cc.

References gobj().

  gtk_window_set_modal(gobj(), static_cast<int>(modal));

Generated by  Doxygen 1.6.0   Back to index