pub trait PreferencesPageExt: IsA<PreferencesPage> + Sealed + 'static {
Show 17 methods // Provided methods fn add(&self, group: &impl IsA<PreferencesGroup>) { ... } fn description(&self) -> GString { ... } fn icon_name(&self) -> Option<GString> { ... } fn name(&self) -> Option<GString> { ... } fn title(&self) -> GString { ... } fn uses_underline(&self) -> bool { ... } fn remove(&self, group: &impl IsA<PreferencesGroup>) { ... } fn scroll_to_top(&self) { ... } fn set_description(&self, description: &str) { ... } 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_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 { ... }
}
Expand description

Trait containing all PreferencesPage methods.

§Implementors

PreferencesPage

Provided Methods§

source

fn add(&self, group: &impl IsA<PreferencesGroup>)

Adds a preferences group to @self.

§group

the group to add

source

fn description(&self) -> GString

Available on crate feature v1_4 only.

Gets the description of @self.

§Returns

the description of @self.

source

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

Gets the icon name for @self.

§Returns

the icon name for @self

source

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

Gets the name of @self.

§Returns

the name of @self

source

fn title(&self) -> GString

Gets the title of @self.

§Returns

the title of @self.

source

fn uses_underline(&self) -> bool

Gets whether an embedded underline in the title indicates a mnemonic.

§Returns

whether an embedded underline in the title indicates a mnemonic

source

fn remove(&self, group: &impl IsA<PreferencesGroup>)

Removes a group from @self.

§group

the group to remove

source

fn scroll_to_top(&self)

Available on crate feature v1_3 only.

Scrolls the scrolled window of @self to the top.

source

fn set_description(&self, description: &str)

Available on crate feature v1_4 only.

Sets the description of @self.

The description is displayed at the top of the page.

§description

the description

source

fn set_icon_name(&self, icon_name: Option<&str>)

Sets the icon name for @self.

§icon_name

the icon name

source

fn set_name(&self, name: Option<&str>)

Sets the name of @self.

§name

the name

source

fn set_title(&self, title: &str)

Sets the title of @self.

§title

the title

source

fn set_use_underline(&self, use_underline: bool)

Sets whether an embedded underline in the title indicates a mnemonic.

§use_underline

TRUE if underlines in the text indicate mnemonics

source

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

Available on crate feature v1_4 only.
source

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

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§