[−][src]Trait libhandy4::PreferencesWindowExt
Required methods
pub fn add<P: IsA<PreferencesPage>>(&self, page: &P)
[src]
pub fn close_subpage(&self)
[src]
Closes the current subpage to return back to the preferences, if there is no presented subpage, this does nothing.
pub fn get_can_swipe_back(&self) -> bool
[src]
Returns whether or not self
allows switching from a subpage to the
preferences via a swipe gesture.
Returns
true
if back swipe is enabled.
pub fn get_search_enabled(&self) -> bool
[src]
pub fn present_subpage<P: IsA<Widget>>(&self, subpage: &P)
[src]
Sets subpage
as the window's subpage and present it.
The transition can be cancelled by the user, in which case visible child will
change back to the previously visible child.
subpage
the subpage
pub fn remove<P: IsA<PreferencesPage>>(&self, page: &P)
[src]
pub fn set_can_swipe_back(&self, can_swipe_back: bool)
[src]
Sets whether or not self
allows switching from a subpage to the preferences
via a swipe gesture.
can_swipe_back
the new value
pub fn set_search_enabled(&self, search_enabled: bool)
[src]
pub fn connect_property_can_swipe_back_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_search_enabled_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<PreferencesWindow>> PreferencesWindowExt for O
[src]
pub fn add<P: IsA<PreferencesPage>>(&self, page: &P)
[src]
pub fn close_subpage(&self)
[src]
pub fn get_can_swipe_back(&self) -> bool
[src]
pub fn get_search_enabled(&self) -> bool
[src]
pub fn present_subpage<P: IsA<Widget>>(&self, subpage: &P)
[src]
pub fn remove<P: IsA<PreferencesPage>>(&self, page: &P)
[src]
pub fn set_can_swipe_back(&self, can_swipe_back: bool)
[src]
pub fn set_search_enabled(&self, search_enabled: bool)
[src]
pub fn connect_property_can_swipe_back_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_search_enabled_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId