PreferencesWindowExt

Trait PreferencesWindowExt 

Source
pub trait PreferencesWindowExt: IsA<PreferencesWindow> + 'static {
Show 19 methods // Provided methods fn add(&self, page: &impl IsA<PreferencesPage>) { ... } fn add_toast(&self, toast: Toast) { ... } fn close_subpage(&self) { ... } fn can_navigate_back(&self) -> bool { ... } fn is_search_enabled(&self) -> bool { ... } fn visible_page(&self) -> Option<PreferencesPage> { ... } fn visible_page_name(&self) -> Option<GString> { ... } fn pop_subpage(&self) -> bool { ... } fn present_subpage(&self, subpage: &impl IsA<Widget>) { ... } fn push_subpage(&self, page: &impl IsA<NavigationPage>) { ... } fn remove(&self, page: &impl IsA<PreferencesPage>) { ... } fn set_can_navigate_back(&self, can_navigate_back: bool) { ... } fn set_search_enabled(&self, search_enabled: bool) { ... } fn set_visible_page(&self, page: &impl IsA<PreferencesPage>) { ... } fn set_visible_page_name(&self, name: &str) { ... } fn connect_can_navigate_back_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_search_enabled_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_visible_page_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_visible_page_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}
๐Ÿ‘ŽDeprecated: Since 1.6

Provided Methodsยง

Source

fn add(&self, page: &impl IsA<PreferencesPage>)

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn add_toast(&self, toast: Toast)

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn close_subpage(&self)

๐Ÿ‘ŽDeprecated: Since 1.4
Source

fn can_navigate_back(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 1.4
Source

fn is_search_enabled(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn visible_page(&self) -> Option<PreferencesPage>

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn visible_page_name(&self) -> Option<GString>

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn pop_subpage(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn present_subpage(&self, subpage: &impl IsA<Widget>)

๐Ÿ‘ŽDeprecated: Since 1.4
Source

fn push_subpage(&self, page: &impl IsA<NavigationPage>)

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn remove(&self, page: &impl IsA<PreferencesPage>)

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn set_can_navigate_back(&self, can_navigate_back: bool)

๐Ÿ‘ŽDeprecated: Since 1.4
Source

fn set_search_enabled(&self, search_enabled: bool)

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn set_visible_page(&self, page: &impl IsA<PreferencesPage>)

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn set_visible_page_name(&self, name: &str)

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn connect_can_navigate_back_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

๐Ÿ‘ŽDeprecated: Since 1.4
Source

fn connect_search_enabled_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn connect_visible_page_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn connect_visible_page_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

๐Ÿ‘ŽDeprecated: Since 1.6

Dyn Compatibilityยง

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementorsยง