Logo Search packages:      
Sourcecode: ardour version File versions

void Gtk::Window::set_keep_below ( bool  setting = true  ) 

Asks to keep window below, so that it stays in bottom. Note that you shouldn't assume the window is definitely below afterward, because other entities (e.g. the user or window manager) could not keep it below, and not all window managers support putting windows below. But normally the window will be kept below. Just don't write code that crashes if not.

It's permitted to call this function before showing a window, in which case the window will be kept below when it appears onscreen initially.

You can track the below state via the "window_state_event" signal on Gtk::Widget.

Note that, according to the Extended Window Manager Hints specification, the above state is mainly meant for user preferences and should not be used by applications e.g. for drawing attention to their dialogs.

Since: 2.4

Parameters:
setting Whether to keep window below other windows.

Definition at line 907 of file window.cc.

References gobj().

{
  gtk_window_set_keep_below(gobj(), static_cast<int>(setting));
}


Generated by  Doxygen 1.6.0   Back to index