pub trait ActionRowExt: IsA<ActionRow> + 'static {
Show 23 methods
// Provided methods
fn activate(&self) { ... }
fn add_prefix(&self, widget: &impl IsA<Widget>) { ... }
fn add_suffix(&self, widget: &impl IsA<Widget>) { ... }
fn activatable_widget(&self) -> Option<Widget> { ... }
fn icon_name(&self) -> Option<GString> { ... }
fn subtitle(&self) -> Option<GString> { ... }
fn subtitle_lines(&self) -> i32 { ... }
fn is_subtitle_selectable(&self) -> bool { ... }
fn title_lines(&self) -> i32 { ... }
fn remove(&self, widget: &impl IsA<Widget>) { ... }
fn set_activatable_widget(&self, widget: Option<&impl IsA<Widget>>) { ... }
fn set_icon_name(&self, icon_name: Option<&str>) { ... }
fn set_subtitle(&self, subtitle: &str) { ... }
fn set_subtitle_lines(&self, subtitle_lines: i32) { ... }
fn set_subtitle_selectable(&self, subtitle_selectable: bool) { ... }
fn set_title_lines(&self, title_lines: i32) { ... }
fn connect_activated<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
fn connect_activatable_widget_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_icon_name_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_subtitle_selectable_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 activate(&self)
fn add_prefix(&self, widget: &impl IsA<Widget>)
fn add_suffix(&self, widget: &impl IsA<Widget>)
fn activatable_widget(&self) -> Option<Widget>
fn icon_name(&self) -> Option<GString>
๐Deprecated: Since 1.3
fn subtitle(&self) -> Option<GString>
fn subtitle_lines(&self) -> i32
fn is_subtitle_selectable(&self) -> bool
fn title_lines(&self) -> i32
fn remove(&self, widget: &impl IsA<Widget>)
fn set_activatable_widget(&self, widget: Option<&impl IsA<Widget>>)
fn set_icon_name(&self, icon_name: Option<&str>)
๐Deprecated: Since 1.3
fn set_subtitle(&self, subtitle: &str)
fn set_subtitle_lines(&self, subtitle_lines: i32)
fn set_subtitle_selectable(&self, subtitle_selectable: bool)
fn set_title_lines(&self, title_lines: i32)
fn connect_activated<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_activatable_widget_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_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_subtitle_selectable_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.