pub trait PreferencesRowExt: IsA<PreferencesRow> + Sealed + 'static {
    // Provided methods
    fn title(&self) -> GString { ... }
    fn is_title_selectable(&self) -> bool { ... }
    fn uses_markup(&self) -> bool { ... }
    fn uses_underline(&self) -> bool { ... }
    fn set_title(&self, title: &str) { ... }
    fn set_title_selectable(&self, title_selectable: bool) { ... }
    fn set_use_markup(&self, use_markup: bool) { ... }
    fn set_use_underline(&self, use_underline: bool) { ... }
    fn connect_title_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
    fn connect_title_selectable_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
    fn connect_use_markup_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 PreferencesRow methods.

§Implementors

ActionRow, EntryRow, ExpanderRow, PreferencesRow

Provided Methods§

source

fn title(&self) -> GString

Gets the title of the preference represented by @self.

§Returns

the title

source

fn is_title_selectable(&self) -> bool

Available on crate feature v1_1 only.

Gets whether the user can copy the title from the label

§Returns

whether the user can copy the title from the label

source

fn uses_markup(&self) -> bool

Available on crate feature v1_2 only.

Gets whether to use Pango markup for the title label.

§Returns

whether to use markup

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 set_title(&self, title: &str)

Sets the title of the preference represented by @self.

The title is interpreted as Pango markup unless use-markup is set to FALSE.

§title

the title

source

fn set_title_selectable(&self, title_selectable: bool)

Available on crate feature v1_1 only.

Sets whether the user can copy the title from the label

See also [selectable][struct@crate::Gtk::Label#selectable].

§title_selectable

TRUE if the user can copy the title from the label

source

fn set_use_markup(&self, use_markup: bool)

Available on crate feature v1_2 only.

Sets whether to use Pango markup for the title label.

Subclasses may also use it for other labels, such as subtitle.

See also parse_markup().

§use_markup

whether to use markup

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_title_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

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

Available on crate feature v1_1 only.
source

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

Available on crate feature v1_2 only.
source

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

Object Safety§

This trait is not object safe.

Implementors§