ActionRow


Object Hierarchy:

Adw.ActionRow Adw.ActionRow Adw.ActionRow Adw.PreferencesRow Adw.PreferencesRow Adw.PreferencesRow->Adw.ActionRow Gtk.ListBoxRow Gtk.ListBoxRow Gtk.ListBoxRow->Adw.PreferencesRow Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.ListBoxRow GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Gtk.Accessible Gtk.Accessible Gtk.Accessible->Adw.ActionRow Gtk.Accessible->Adw.PreferencesRow Gtk.Accessible->Gtk.ListBoxRow Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Adw.ActionRow Gtk.Buildable->Adw.PreferencesRow Gtk.Buildable->Gtk.ListBoxRow Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Adw.ActionRow Gtk.ConstraintTarget->Adw.PreferencesRow Gtk.ConstraintTarget->Gtk.ListBoxRow Gtk.ConstraintTarget->Gtk.Widget Gtk.Actionable Gtk.Actionable Gtk.Actionable->Adw.ActionRow Gtk.Actionable->Adw.PreferencesRow Gtk.Actionable->Gtk.ListBoxRow

Description:

[ CCode ( type_id = "adw_action_row_get_type ()" ) ]
public class ActionRow : PreferencesRow, Accessible, Actionable, Buildable, ConstraintTarget

A [class@Gtk.

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 `AdwActionRow` 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.

`AdwActionRow` 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 `AdwActionRow` implementation of the [iface@Gtk.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

`AdwActionRow` 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.

All known sub-classes:

Namespace: Adw
Package: libadwaita-1

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class Gtk.Widget