ComboRow


Object Hierarchy:

Object hierarchy for ComboRow

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