[][src]Trait libhandy4::PreferencesRowExt

pub trait PreferencesRowExt: 'static {
    pub fn get_title(&self) -> Option<GString>;
pub fn get_use_underline(&self) -> bool;
pub fn set_title(&self, title: Option<&str>);
pub fn set_use_underline(&self, use_underline: bool);
pub fn connect_property_title_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_use_underline_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all PreferencesRow methods.

Implementors

ActionRow, ExpanderRow, PreferencesRow

Required methods

pub fn get_title(&self) -> Option<GString>[src]

Gets the title of the preference represented by self.

Returns

the title of the preference represented by self, or None.

pub fn get_use_underline(&self) -> bool[src]

Gets whether an embedded underline in the text of the title indicates a mnemonic. See PreferencesRowExt::set_use_underline.

Returns

true if an embedded underline in the title indicates the mnemonic accelerator keys.

pub fn set_title(&self, title: Option<&str>)[src]

Sets the title of the preference represented by self.

title

the title, or None.

pub fn set_use_underline(&self, use_underline: bool)[src]

If true, an underline in the text of the title indicates the next character should be used for the mnemonic accelerator key.

use_underline

true if underlines in the text indicate mnemonics

pub fn connect_property_title_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_use_underline_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: IsA<PreferencesRow>> PreferencesRowExt for O[src]

Loading content...