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;
}