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ยง
fn add_action(&self, widget: &impl IsA<Widget>)
๐Deprecated: Since 1.4
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>
๐Deprecated: Since 1.3
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>)
๐Deprecated: Since 1.3
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
๐Deprecated: Since 1.3
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
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.