Creates a new adw.action_row.ActionRow.
Activates self.
Adds a prefix widget to self.
Adds a suffix widget to self.
Connect to Activated signal.
Gets the widget activated when self is activated.
Gets the icon name for self.
Gets the subtitle for self.
Gets the number of lines at the end of which the subtitle label will be ellipsized.
Gets whether the user can copy the subtitle from the label
Gets the number of lines at the end of which the title label will be ellipsized.
Removes a child from self.
Returns this, for use in with statements.
Sets the widget to activate when self is activated.
Sets the icon name for self.
Sets the subtitle for self.
Sets the number of lines at the end of which the subtitle label will be ellipsized.
Sets whether the user can copy the subtitle from the label
Sets the number of lines at the end of which the title label will be ellipsized.
Get activatableWidget property.
Set activatableWidget property.
Get iconName property.
Set iconName property.
Get subtitle property.
Set subtitle property.
Get subtitleLines property.
Set subtitleLines property.
Get subtitleSelectable property.
Set subtitleSelectable property.
Get titleLines property.
Set titleLines property.
Get builder for adw.action_row.ActionRow
Returns this, for use in with statements.
Get builder for adw.preferences_row.PreferencesRow
Get title property.
Set title property.
Get titleSelectable property.
Set titleSelectable property.
Get useMarkup property.
Set useMarkup property.
Get useUnderline property.
Set useUnderline property.
Gets the title of the preference represented by self.
Gets whether the user can copy the title from the label
Gets whether to use Pango markup for the title label.
Gets whether an embedded underline in the title indicates a mnemonic.
Sets the title of the preference represented by self.
Sets whether the user can copy the title from the label
Sets whether to use Pango markup for the title label.
Sets whether an embedded underline in the title indicates a mnemonic.
A gtk.list_box_row.ListBoxRow used to present actions.
<picture> <source srcset="action-row-dark.png" media="(prefers-color-scheme: dark)"> <img src="action-row.png" alt="action-row"> </picture>
The adw.action_row.ActionRow widget can have a title, a subtitle and an icon. The row can receive additional widgets at its end, or prefix widgets at its start.
It is convenient to present a preference and its related actions.
adw.action_row.ActionRow is unactivatable by default, giving it an activatable widget will automatically make it activatable, but unsetting it won't change the row's activatability.
AdwActionRow as GtkBuildable
The adw.action_row.ActionRow implementation of the gtk.buildable.Buildable interface supports adding a child at its end by specifying “suffix” or omitting the “type” attribute of a <child> element.
It also supports adding a child as a prefix widget by specifying “prefix” as the “type” attribute of a <child> element.
CSS nodes
adw.action_row.ActionRow has a main CSS node with name row.
It contains the subnode box.header for its main horizontal box, and box.title for the vertical box containing the title and subtitle labels.
It contains subnodes label.title and label.subtitle representing respectively the title label and subtitle label.
adw.action_row.ActionRow can use the `.property` style class to emphasize the row subtitle instead of the row title, which is useful for displaying read-only properties.