[−][src]Trait libhandy4::ActionRowExt
Required methods
pub fn activate(&self)
[src]
pub fn add_prefix<P: IsA<Widget>>(&self, widget: &P)
[src]
pub fn add_suffix<P: IsA<Widget>>(&self, widget: &P)
[src]
pub fn get_activatable_widget(&self) -> Option<Widget>
[src]
Gets the widget activated when self
is activated.
Returns
the widget activated when self
is
activated, or None
if none has been set.
pub fn get_icon_name(&self) -> Option<GString>
[src]
Gets the icon name for self
.
Returns
the icon name for self
.
The returned string is owned by the ActionRow
and should not be freed.
pub fn get_subtitle(&self) -> Option<GString>
[src]
pub fn get_subtitle_lines(&self) -> i32
[src]
Gets the number of lines at the end of which the subtitle label will be ellipsized. If the value is 0, the number of lines won't be limited.
Returns
the number of lines at the end of which the subtitle label will be ellipsized.
pub fn get_title_lines(&self) -> i32
[src]
Gets the number of lines at the end of which the title label will be ellipsized. If the value is 0, the number of lines won't be limited.
Returns
the number of lines at the end of which the title label will be ellipsized.
pub fn remove<P: IsA<Widget>>(&self, widget: &P)
[src]
pub fn set_activatable_widget<P: IsA<Widget>>(&self, widget: Option<&P>)
[src]
Sets the widget to activate when self
is activated, either by clicking
on it, by calling ActionRowExt::activate
, or via mnemonics in the title or
the subtitle. See the “use_underline” property to enable mnemonics.
The target widget will be activated by emitting the
gtk::Widget
::mnemonic-activate signal on it.
widget
the target gtk::Widget
, or None
to unset
pub fn set_icon_name(&self, icon_name: &str)
[src]
pub fn set_subtitle(&self, subtitle: Option<&str>)
[src]
pub fn set_subtitle_lines(&self, subtitle_lines: i32)
[src]
Sets the number of lines at the end of which the subtitle label will be ellipsized. If the value is 0, the number of lines won't be limited.
subtitle_lines
the number of lines at the end of which the subtitle label will be ellipsized
pub fn set_title_lines(&self, title_lines: i32)
[src]
Sets the number of lines at the end of which the title label will be ellipsized. If the value is 0, the number of lines won't be limited.
title_lines
the number of lines at the end of which the title label will be ellipsized
pub fn connect_activated<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
[src]
This signal is emitted after the row has been activated.
pub fn connect_property_activatable_widget_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_icon_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_subtitle_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_subtitle_lines_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_title_lines_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_use_underline_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<ActionRow>> ActionRowExt for O
[src]
pub fn activate(&self)
[src]
pub fn add_prefix<P: IsA<Widget>>(&self, widget: &P)
[src]
pub fn add_suffix<P: IsA<Widget>>(&self, widget: &P)
[src]
pub fn get_activatable_widget(&self) -> Option<Widget>
[src]
pub fn get_icon_name(&self) -> Option<GString>
[src]
pub fn get_subtitle(&self) -> Option<GString>
[src]
pub fn get_subtitle_lines(&self) -> i32
[src]
pub fn get_title_lines(&self) -> i32
[src]
pub fn remove<P: IsA<Widget>>(&self, widget: &P)
[src]
pub fn set_activatable_widget<P: IsA<Widget>>(&self, widget: Option<&P>)
[src]
pub fn set_icon_name(&self, icon_name: &str)
[src]
pub fn set_subtitle(&self, subtitle: Option<&str>)
[src]
pub fn set_subtitle_lines(&self, subtitle_lines: i32)
[src]
pub fn set_title_lines(&self, title_lines: i32)
[src]
pub fn connect_activated<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
[src]
pub fn connect_property_activatable_widget_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_icon_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_subtitle_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_subtitle_lines_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_title_lines_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_use_underline_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId