Type Alias: AdwComboRowProps
AdwComboRowProps =
AdwActionRowProps&object
Defined in: generated/jsx.ts:2535
Props for the AdwComboRow widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
children? | ReactNode | - | generated/jsx.ts:2595 |
enableSearch? | boolean | Whether to show a search entry in the popup. If set to TRUE, a search entry will be shown in the popup that allows to search for items in the list. Search requires AdwComboRow.expression to be set. | generated/jsx.ts:2544 |
expression? | Gtk.Expression | null | An expression used to obtain strings from items. The expression must have a value type of G_TYPE_STRING. It's used to bind strings to labels produced by the default factory if AdwComboRow.factory is not set, or when AdwComboRow.use-subtitle is set to TRUE. | generated/jsx.ts:2554 |
factory? | Gtk.ListItemFactory | null | Factory for populating list items. This factory is always used for the item in the row. It is also used for items in the popup unless AdwComboRow.list-factory is set. | generated/jsx.ts:2561 |
headerFactory? | Gtk.ListItemFactory | null | The factory for creating header widgets for the popup. | generated/jsx.ts:2563 |
listFactory? | Gtk.ListItemFactory | null | The factory for populating list items in the popup. If this is not set, AdwComboRow.factory is used. | generated/jsx.ts:2569 |
onSelectionChanged? | (id) => void | null | Called when selection changes with the selected item's ID | generated/jsx.ts:2594 |
ref? | Ref<Adw.ComboRow> | - | generated/jsx.ts:2596 |
searchMatchMode? | Gtk.StringFilterMatchMode | The match mode for the search filter. | generated/jsx.ts:2571 |
selected? | number | The position of the selected item. If no item is selected, the property has the value INVALID_LIST_POSITION | generated/jsx.ts:2578 |
selectedId? | string | null | ID of the initially selected item | generated/jsx.ts:2592 |
useSubtitle? | boolean | Whether to use the current value as the subtitle. If you use a custom list item factory, you will need to give the row a name conversion expression with AdwComboRow.expression. If set to TRUE, you should not access AdwActionRow.subtitle. The subtitle is interpreted as Pango markup if AdwPreferencesRow.use-markup is set to TRUE. | generated/jsx.ts:2590 |