Type Alias: AdwComboRowProps
AdwComboRowProps =
Omit<AdwActionRowProps,"onNotify"> &object
Defined in: generated/jsx.ts:3069
Props for the AdwComboRow widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
children? | ReactNode | - | generated/jsx.ts:3129 |
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:3078 |
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:3088 |
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:3095 |
headerFactory? | Gtk.ListItemFactory | null | The factory for creating header widgets for the popup. | generated/jsx.ts:3097 |
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:3103 |
onNotify? | (self, propName) => void | null | Called when any property on this widget changes. Param The widget that emitted the notification Param The name of the property that changed (in kebab-case) | generated/jsx.ts:3135 |
onSelectionChanged? | (id) => void | null | Called when selection changes with the selected item's ID | generated/jsx.ts:3128 |
ref? | Ref<Adw.ComboRow> | - | generated/jsx.ts:3150 |
searchMatchMode? | Gtk.StringFilterMatchMode | The match mode for the search filter. | generated/jsx.ts:3105 |
selected? | number | The position of the selected item. If no item is selected, the property has the value INVALID_LIST_POSITION | generated/jsx.ts:3112 |
selectedId? | string | null | ID of the initially selected item | generated/jsx.ts:3126 |
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:3124 |