[−][src]Trait gtk::ApplicationWindowExt
Required methods
fn get_help_overlay(&self) -> Option<ShortcutsWindow>
Gets the ShortcutsWindow that has been set up with
a prior call to ApplicationWindowExt::set_help_overlay.
Feature: v3_20
Returns
the help overlay associated with self, or None
fn get_id(&self) -> u32
Returns the unique ID of the window. If the window has not yet been added to
a Application, returns 0.
Returns
the unique ID for self, or 0 if the window
has not yet been added to a Application
fn get_show_menubar(&self) -> bool
Returns whether the window will display a menubar for the app menu and menubar as needed.
Returns
true if self will display a menubar when needed
fn set_help_overlay<P: IsA<ShortcutsWindow>>(&self, help_overlay: Option<&P>)
Associates a shortcuts window with the application window, and sets up an action with the name win.show-help-overlay to present it.
self takes resposibility for destroying help_overlay.
Feature: v3_20
help_overlay
a ShortcutsWindow
fn set_show_menubar(&self, show_menubar: bool)
Sets whether the window will display a menubar for the app menu and menubar as needed.
show_menubar
whether to show a menubar when needed
fn connect_property_show_menubar_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<ApplicationWindow>> ApplicationWindowExt for O[src]
fn get_help_overlay(&self) -> Option<ShortcutsWindow>[src]
fn get_id(&self) -> u32[src]
fn get_show_menubar(&self) -> bool[src]
fn set_help_overlay<P: IsA<ShortcutsWindow>>(&self, help_overlay: Option<&P>)[src]
fn set_show_menubar(&self, show_menubar: bool)[src]
fn connect_property_show_menubar_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId