[−][src]Trait gtk::GtkApplicationExt
Required methods
fn add_window<P: IsA<Window>>(&self, window: &P)
fn get_accels_for_action(&self, detailed_action_name: &str) -> Vec<GString>
fn get_actions_for_accel(&self, accel: &str) -> Vec<GString>
fn get_active_window(&self) -> Option<Window>
fn get_app_menu(&self) -> Option<MenuModel>
fn get_menu_by_id(&self, id: &str) -> Option<Menu>
fn get_menubar(&self) -> Option<MenuModel>
fn get_window_by_id(&self, id: u32) -> Option<Window>
fn get_windows(&self) -> Vec<Window>
fn inhibit<P: IsA<Window>>(
&self,
window: Option<&P>,
flags: ApplicationInhibitFlags,
reason: Option<&str>
) -> u32
&self,
window: Option<&P>,
flags: ApplicationInhibitFlags,
reason: Option<&str>
) -> u32
fn is_inhibited(&self, flags: ApplicationInhibitFlags) -> bool
fn list_action_descriptions(&self) -> Vec<GString>
fn prefers_app_menu(&self) -> bool
fn remove_window<P: IsA<Window>>(&self, window: &P)
fn set_accels_for_action(&self, detailed_action_name: &str, accels: &[&str])
fn set_app_menu<P: IsA<MenuModel>>(&self, app_menu: Option<&P>)
fn set_menubar<P: IsA<MenuModel>>(&self, menubar: Option<&P>)
fn uninhibit(&self, cookie: u32)
fn get_property_register_session(&self) -> bool
fn set_property_register_session(&self, register_session: bool)
fn get_property_screensaver_active(&self) -> bool
fn connect_query_end<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_window_added<F: Fn(&Self, &Window) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_window_removed<F: Fn(&Self, &Window) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_active_window_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_app_menu_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_menubar_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_register_session_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_screensaver_active_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<Application>> GtkApplicationExt for O
[src]
fn add_window<P: IsA<Window>>(&self, window: &P)
[src]
fn get_accels_for_action(&self, detailed_action_name: &str) -> Vec<GString>
[src]
fn get_actions_for_accel(&self, accel: &str) -> Vec<GString>
[src]
fn get_active_window(&self) -> Option<Window>
[src]
fn get_app_menu(&self) -> Option<MenuModel>
[src]
fn get_menu_by_id(&self, id: &str) -> Option<Menu>
[src]
fn get_menubar(&self) -> Option<MenuModel>
[src]
fn get_window_by_id(&self, id: u32) -> Option<Window>
[src]
fn get_windows(&self) -> Vec<Window>
[src]
fn inhibit<P: IsA<Window>>(
&self,
window: Option<&P>,
flags: ApplicationInhibitFlags,
reason: Option<&str>
) -> u32
[src]
&self,
window: Option<&P>,
flags: ApplicationInhibitFlags,
reason: Option<&str>
) -> u32
fn is_inhibited(&self, flags: ApplicationInhibitFlags) -> bool
[src]
fn list_action_descriptions(&self) -> Vec<GString>
[src]
fn prefers_app_menu(&self) -> bool
[src]
fn remove_window<P: IsA<Window>>(&self, window: &P)
[src]
fn set_accels_for_action(&self, detailed_action_name: &str, accels: &[&str])
[src]
fn set_app_menu<P: IsA<MenuModel>>(&self, app_menu: Option<&P>)
[src]
fn set_menubar<P: IsA<MenuModel>>(&self, menubar: Option<&P>)
[src]
fn uninhibit(&self, cookie: u32)
[src]
fn get_property_register_session(&self) -> bool
[src]
fn set_property_register_session(&self, register_session: bool)
[src]
fn get_property_screensaver_active(&self) -> bool
[src]
fn connect_query_end<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
[src]
fn connect_window_added<F: Fn(&Self, &Window) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_window_removed<F: Fn(&Self, &Window) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_active_window_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_app_menu_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_menubar_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_register_session_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_screensaver_active_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId