Trait libadwaita::prelude::ExpanderRowExt
source · pub trait ExpanderRowExt: 'static {
Show 25 methods
// Required 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 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 is_subtitle_lines(&self) -> bool;
fn is_title_lines(&self) -> bool;
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;
}
Required 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 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
sourcefn is_subtitle_lines(&self) -> bool
fn is_subtitle_lines(&self) -> bool
Available on crate feature
v1_3
only.sourcefn is_title_lines(&self) -> bool
fn is_title_lines(&self) -> bool
Available on crate feature
v1_3
only.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)
sourcefn set_subtitle_lines(&self, subtitle_lines: i32)
fn set_subtitle_lines(&self, subtitle_lines: i32)
Available on crate feature
v1_3
only.sourcefn set_title_lines(&self, title_lines: i32)
fn set_title_lines(&self, title_lines: i32)
Available on crate feature
v1_3
only.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
sourcefn connect_subtitle_lines_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_subtitle_lines_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v1_3
only.sourcefn connect_title_lines_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_title_lines_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v1_3
only.