pub trait PreferencesWindowExt: 'static {
Show 17 methods // Required 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 present_subpage(&self, subpage: &impl IsA<Widget>); 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;
}

Required Methods§

source

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

source

fn add_toast(&self, toast: &Toast)

source

fn close_subpage(&self)

source

fn can_navigate_back(&self) -> bool

source

fn is_search_enabled(&self) -> bool

source

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

source

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

source

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

source

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

source

fn set_can_navigate_back(&self, can_navigate_back: bool)

source

fn set_search_enabled(&self, search_enabled: bool)

source

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

source

fn set_visible_page_name(&self, name: &str)

source

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

source

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

source

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

source

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

Implementors§