[][src]Trait libhandy4::ExpanderRowExt

pub trait ExpanderRowExt: 'static {
    pub fn add<P: IsA<Widget>>(&self, child: &P);
pub fn add_action<P: IsA<Widget>>(&self, widget: &P);
pub fn add_prefix<P: IsA<Widget>>(&self, widget: &P);
pub fn get_enable_expansion(&self) -> bool;
pub fn get_expanded(&self) -> bool;
pub fn get_icon_name(&self) -> Option<GString>;
pub fn get_show_enable_switch(&self) -> bool;
pub fn get_subtitle(&self) -> Option<GString>;
pub fn remove<P: IsA<Widget>>(&self, child: &P);
pub fn set_enable_expansion(&self, enable_expansion: bool);
pub fn set_expanded(&self, expanded: bool);
pub fn set_icon_name(&self, icon_name: &str);
pub fn set_show_enable_switch(&self, show_enable_switch: bool);
pub fn set_subtitle(&self, subtitle: Option<&str>);
pub fn connect_property_enable_expansion_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_expanded_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_icon_name_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_show_enable_switch_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_subtitle_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 ExpanderRow methods.

Implementors

ExpanderRow

Required methods

pub fn add<P: IsA<Widget>>(&self, child: &P)[src]

pub fn add_action<P: IsA<Widget>>(&self, widget: &P)[src]

Adds an action widget to self.

widget

the action widget

pub fn add_prefix<P: IsA<Widget>>(&self, widget: &P)[src]

Adds a prefix widget to self.

widget

the prefix widget

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

Gets whether the expansion of self is enabled.

Returns

whether the expansion of self is enabled.

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

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

Gets the icon name for self.

Returns

the icon name for self.

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

Gets whether the switch enabling the expansion of self is visible.

Returns

whether the switch enabling the expansion of self is visible.

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

Gets the subtitle for self.

Returns

the subtitle for self, or None.

pub fn remove<P: IsA<Widget>>(&self, child: &P)[src]

pub fn set_enable_expansion(&self, enable_expansion: bool)[src]

Sets whether the expansion of self is enabled.

enable_expansion

true to enable the expansion

pub fn set_expanded(&self, expanded: bool)[src]

pub fn set_icon_name(&self, icon_name: &str)[src]

Sets the icon name for self.

icon_name

the icon name

pub fn set_show_enable_switch(&self, show_enable_switch: bool)[src]

Sets whether the switch enabling the expansion of self is visible.

show_enable_switch

true to show the switch enabling the expansion

pub fn set_subtitle(&self, subtitle: Option<&str>)[src]

Sets the subtitle for self.

subtitle

the subtitle

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

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

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

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

pub fn connect_property_subtitle_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<ExpanderRow>> ExpanderRowExt for O[src]

Loading content...