Logo Search packages:      
Sourcecode: ardour version File versions

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

By default, windows are decorated with a title bar, resize controls, etc. Some window managers allow GTK+ to disable these decorations, creating a borderless window. If you set the decorated property to false using this function, GTK+ will do its best to convince the window manager not to decorate the window. Depending on the system, this function may not have any effect when called on a window that is already visible, so you should call it before calling gtk_window_show().

On Windows, this function always works, since there's no window manager policy involved.

Parameters:
setting true to decorate the window.

Definition at line 681 of file window.cc.

References gobj().

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


Generated by  Doxygen 1.6.0   Back to index