ExpanderRowExt

Trait ExpanderRowExt 

Source
pub trait ExpanderRowExt: IsA<ExpanderRow> + 'static {
Show 26 methods // Provided methods fn add_action(&self, widget: &impl IsA<Widget>) { ... } fn add_prefix(&self, widget: &impl IsA<Widget>) { ... } fn add_row(&self, child: &impl IsA<Widget>) { ... } fn add_suffix(&self, widget: &impl IsA<Widget>) { ... } fn enables_expansion(&self) -> bool { ... } fn is_expanded(&self) -> bool { ... } fn icon_name(&self) -> Option<GString> { ... } fn shows_enable_switch(&self) -> bool { ... } fn subtitle(&self) -> GString { ... } fn subtitle_lines(&self) -> i32 { ... } fn title_lines(&self) -> i32 { ... } fn remove(&self, child: &impl IsA<Widget>) { ... } fn set_enable_expansion(&self, enable_expansion: bool) { ... } fn set_expanded(&self, expanded: bool) { ... } fn set_icon_name(&self, icon_name: Option<&str>) { ... } fn set_show_enable_switch(&self, show_enable_switch: bool) { ... } fn set_subtitle(&self, subtitle: &str) { ... } fn set_subtitle_lines(&self, subtitle_lines: i32) { ... } fn set_title_lines(&self, title_lines: i32) { ... } fn connect_enable_expansion_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_expanded_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_icon_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_show_enable_switch_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_subtitle_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_subtitle_lines_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_title_lines_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methodsยง

Source

fn add_action(&self, widget: &impl IsA<Widget>)

๐Ÿ‘ŽDeprecated: Since 1.4
Source

fn add_prefix(&self, widget: &impl IsA<Widget>)

Source

fn add_row(&self, child: &impl IsA<Widget>)

Source

fn add_suffix(&self, widget: &impl IsA<Widget>)

Source

fn enables_expansion(&self) -> bool

Source

fn is_expanded(&self) -> bool

Source

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

๐Ÿ‘ŽDeprecated: Since 1.3
Source

fn shows_enable_switch(&self) -> bool

Source

fn subtitle(&self) -> GString

Source

fn subtitle_lines(&self) -> i32

Source

fn title_lines(&self) -> i32

Source

fn remove(&self, child: &impl IsA<Widget>)

Source

fn set_enable_expansion(&self, enable_expansion: bool)

Source

fn set_expanded(&self, expanded: bool)

Source

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

๐Ÿ‘ŽDeprecated: Since 1.3
Source

fn set_show_enable_switch(&self, show_enable_switch: bool)

Source

fn set_subtitle(&self, subtitle: &str)

Source

fn set_subtitle_lines(&self, subtitle_lines: i32)

Source

fn set_title_lines(&self, title_lines: i32)

Source

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

Source

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

Source

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

๐Ÿ‘ŽDeprecated: Since 1.3
Source

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

Source

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

Source

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

Source

fn connect_title_lines_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.

Implementorsยง