Creates a new adw.combo_row.ComboRow.
Gets whether search is enabled.
Gets the expression used to obtain strings from items.
Gets the factory for populating list items.
Gets the factory for populating list items in the popup.
Gets the model that provides the displayed items.
Gets the position of the selected item.
Gets the selected item.
Gets whether to use the current value as the subtitle.
Sets whether to enable search.
Sets the expression used to obtain strings from items.
Sets the factory for populating list items.
Sets the factory for populating list items in the popup.
Sets the model that provides the displayed items.
Selects the item at the given position.
Sets whether to use the current value as the subtitle.
Activates self.
Adds a prefix widget to self.
Adds a suffix widget to self.
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.
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.
Connect to Activated signal.
A gtk.list_box_row.ListBoxRow used to choose from a list of items.
<picture> <source srcset="combo-row-dark.png" media="(prefers-color-scheme: dark)"> <img src="combo-row.png" alt="combo-row"> </picture>
The adw.combo_row.ComboRow 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.
Example of an adw.combo_row.ComboRow UI definition:
The property@ComboRow:selected and property@ComboRow:selected-item properties can be used to keep track of the selected item and react to their changes.
adw.combo_row.ComboRow mirrors gtk.drop_down.DropDown, see that widget for details.
adw.combo_row.ComboRow is gtk.list_box_row.ListBoxRow.gboolean if a model is set.
CSS nodes
adw.combo_row.ComboRow has a main CSS node with name row and the .combo style class.
Its popover has the node named popover with the .menu style class, it contains a gtk.scrolled_window.ScrolledWindow, which in turn contains a gtk.list_view.ListView, both are accessible via their regular nodes.
Accessibility
adw.combo_row.ComboRow uses the gtk.types.AccessibleRole.ComboBox role.