ComboRow


Object Hierarchy:

Hdy.ComboRow Hdy.ComboRow Hdy.ComboRow Hdy.ActionRow Hdy.ActionRow Hdy.ActionRow->Hdy.ComboRow Hdy.PreferencesRow Hdy.PreferencesRow Hdy.PreferencesRow->Hdy.ActionRow Gtk.ListBoxRow Gtk.ListBoxRow Gtk.ListBoxRow->Hdy.PreferencesRow Gtk.Bin Gtk.Bin Gtk.Bin->Gtk.ListBoxRow Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.Container GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Atk.Implementor Atk.Implementor Atk.Implementor->Hdy.ComboRow Atk.Implementor->Hdy.ActionRow Atk.Implementor->Hdy.PreferencesRow Atk.Implementor->Gtk.ListBoxRow Atk.Implementor->Gtk.Bin Atk.Implementor->Gtk.Container Atk.Implementor->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Hdy.ComboRow Gtk.Buildable->Hdy.ActionRow Gtk.Buildable->Hdy.PreferencesRow Gtk.Buildable->Gtk.ListBoxRow Gtk.Buildable->Gtk.Bin Gtk.Buildable->Gtk.Container Gtk.Buildable->Gtk.Widget Gtk.Actionable Gtk.Actionable Gtk.Actionable->Hdy.ComboRow Gtk.Actionable->Hdy.ActionRow Gtk.Actionable->Hdy.PreferencesRow Gtk.Actionable->Gtk.ListBoxRow

Description:

[ CCode ( type_id = "hdy_combo_row_get_type ()" ) ]
[ Version ( since = "1.0" ) ]
public class ComboRow : ActionRow, Implementor, Actionable, Buildable

A [class@Gtk.

ListBoxRow] used to choose from a list of items.

The `HdyComboRow` widget allows the user to choose from a list of valid choices. The row displays the selected choice. When activated, the row displays a popover which allows the user to make a new choice.

The [class@ComboRow] uses the model-view pattern; the list of valid choices is specified in the form of a [iface@Gio.ListModel], and the display of the choices can be adapted to the data in the model via widget creation functions.

`HdyComboRow` is [property@Gtk.ListBoxRow:activatable] if a model is set.

CSS nodes

`HdyComboRow` has a main CSS node with name `row`.

Its popover has the node name popover with the `.combo` style class, it contains a [class@Gtk.ScrolledWindow], which in turn contains a [ class@Gtk.ListBox], both are accessible via their regular nodes.

A checkmark of node and style class `image.checkmark` in the popover denotes the current item.


Namespace: Hdy
Package: libhandy-1

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class Hdy.PreferencesRow
All known members inherited from class Gtk.Bin
All known members inherited from class Gtk.Widget
All known members inherited from interface Atk.Implementor