Class: Handy::ActionRow
- Inherits:
-
PreferencesRow
- Object
- Gtk::ListBoxRow
- PreferencesRow
- Handy::ActionRow
- Defined in:
- (unknown)
Direct Known Subclasses
Instance Method Summary collapse
-
#activatable_widget ⇒ Gtk::Widget
The activatable widget for this row.
-
#activatable_widget=(activatable_widget) ⇒ Gtk::Widget
The activatable widget for this row.
-
#activate ⇒ nil
Activates self.
-
#add_prefix(widget) ⇒ nil
Adds a prefix widget to self.
-
#icon_name ⇒ String
The icon name for this row.
-
#icon_name=(icon_name) ⇒ String
The icon name for this row.
-
#initialize ⇒ Gtk::Widget
constructor
Creates a new
HdyActionRow. -
#subtitle ⇒ String
The subtitle for this row.
-
#subtitle=(subtitle) ⇒ String
The subtitle for this row.
-
#subtitle_lines ⇒ Integer
The number of lines at the end of which the subtitle label will be ellipsized.
-
#subtitle_lines=(subtitle_lines) ⇒ Integer
The number of lines at the end of which the subtitle label will be ellipsized.
-
#title_lines ⇒ Integer
The number of lines at the end of which the title label will be ellipsized.
-
#title_lines=(title_lines) ⇒ Integer
The number of lines at the end of which the title label will be ellipsized.
-
#use_underline ⇒ Boolean
Gets whether an embedded underline in the title or subtitle indicates a mnemonic.
-
#use_underline=(use_underline) ⇒ Boolean
Whether embedded underlines in the title or subtitle indicates a mnemonic.
-
#use_underline? ⇒ Boolean
Whether embedded underlines in the title or subtitle indicates a mnemonic.
Methods inherited from PreferencesRow
Constructor Details
#initialize ⇒ Gtk::Widget
Creates a new HdyActionRow.
Instance Method Details
#activatable_widget ⇒ Gtk::Widget
The activatable widget for this row.
The widget is activated, either by clicking on it, by calling [methodActionRow.activate], or via mnemonics in the title or the subtitle. See the [propertyActionRow:use-underline] property to enable mnemonics.
The target widget will be activated by emitting the [signalGtk.Widget::mnemonic-activate] signal on it.
#activatable_widget=(activatable_widget) ⇒ Gtk::Widget
The activatable widget for this row.
The widget is activated, either by clicking on it, by calling [methodActionRow.activate], or via mnemonics in the title or the subtitle. See the [propertyActionRow:use-underline] property to enable mnemonics.
The target widget will be activated by emitting the [signalGtk.Widget::mnemonic-activate] signal on it.
#activate ⇒ nil
Activates self.
#add_prefix(widget) ⇒ nil
Adds a prefix widget to self.
#icon_name ⇒ String
The icon name for this row.
#icon_name=(icon_name) ⇒ String
The icon name for this row.
#subtitle ⇒ String
The subtitle for this row.
#subtitle=(subtitle) ⇒ String
The subtitle for this row.
#subtitle_lines ⇒ Integer
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=(subtitle_lines) ⇒ Integer
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.
#title_lines ⇒ Integer
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=(title_lines) ⇒ Integer
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.
#use_underline ⇒ Boolean
Gets whether an embedded underline in the title or subtitle indicates a mnemonic.
#use_underline=(use_underline) ⇒ Boolean
Whether embedded underlines in the title or subtitle indicates a mnemonic.
If true, an underline in the text of the title or subtitle labels indicates the next character should be used for the mnemonic accelerator key.
#use_underline? ⇒ Boolean
Whether embedded underlines in the title or subtitle indicates a mnemonic.
If true, an underline in the text of the title or subtitle labels indicates the next character should be used for the mnemonic accelerator key.