pub trait PreferencesPageExt: IsA<PreferencesPage> + 'static {
Show 25 methods
// Provided methods
fn add(&self, group: &impl IsA<PreferencesGroup>) { ... }
fn banner(&self) -> Option<Banner> { ... }
fn description(&self) -> GString { ... }
fn is_description_centered(&self) -> bool { ... }
fn group(&self, index: u32) -> Option<PreferencesGroup> { ... }
fn icon_name(&self) -> Option<GString> { ... }
fn name(&self) -> Option<GString> { ... }
fn title(&self) -> GString { ... }
fn uses_underline(&self) -> bool { ... }
fn insert(&self, group: &impl IsA<PreferencesGroup>, index: i32) { ... }
fn remove(&self, group: &impl IsA<PreferencesGroup>) { ... }
fn scroll_to_top(&self) { ... }
fn set_banner(&self, banner: Option<&Banner>) { ... }
fn set_description(&self, description: &str) { ... }
fn set_description_centered(&self, centered: bool) { ... }
fn set_icon_name(&self, icon_name: Option<&str>) { ... }
fn set_name(&self, name: Option<&str>) { ... }
fn set_title(&self, title: &str) { ... }
fn set_use_underline(&self, use_underline: bool) { ... }
fn connect_banner_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_description_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_description_centered_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_icon_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_title_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_use_underline_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}Provided Methods§
fn add(&self, group: &impl IsA<PreferencesGroup>)
fn description(&self) -> GString
fn is_description_centered(&self) -> bool
fn group(&self, index: u32) -> Option<PreferencesGroup>
fn icon_name(&self) -> Option<GString>
fn name(&self) -> Option<GString>
fn title(&self) -> GString
fn uses_underline(&self) -> bool
fn insert(&self, group: &impl IsA<PreferencesGroup>, index: i32)
fn remove(&self, group: &impl IsA<PreferencesGroup>)
fn scroll_to_top(&self)
fn set_description(&self, description: &str)
fn set_description_centered(&self, centered: bool)
fn set_icon_name(&self, icon_name: Option<&str>)
fn set_name(&self, name: Option<&str>)
fn set_title(&self, title: &str)
fn set_use_underline(&self, use_underline: bool)
fn connect_description_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_description_centered_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_icon_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_title_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_use_underline_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
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.