Trait libadwaita::prelude::ActionRowExt
source · pub trait ActionRowExt: 'static {
Show 23 methods
// Required 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;
}Required 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
sourcefn is_subtitle_selectable(&self) -> bool
fn is_subtitle_selectable(&self) -> bool
Available on crate feature
v1_3 only.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)
sourcefn set_subtitle_selectable(&self, subtitle_selectable: bool)
fn set_subtitle_selectable(&self, subtitle_selectable: bool)
Available on crate feature
v1_3 only.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
sourcefn connect_subtitle_selectable_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_subtitle_selectable_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v1_3 only.