Skip to main content

Type Alias: AdwComboRowProps

AdwComboRowProps = Omit<AdwActionRowProps, "onNotify"> & object

Defined in: generated/jsx.ts:3069

Props for the AdwComboRow widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:3129
enableSearch?booleanWhether 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 | nullAn 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 | nullFactory 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 | nullThe factory for creating header widgets for the popup.generated/jsx.ts:3097
listFactory?Gtk.ListItemFactory | nullThe 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 | nullCalled 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 | nullCalled when selection changes with the selected item's IDgenerated/jsx.ts:3128
ref?Ref<Adw.ComboRow>-generated/jsx.ts:3150
searchMatchMode?Gtk.StringFilterMatchModeThe match mode for the search filter.generated/jsx.ts:3105
selected?numberThe position of the selected item. If no item is selected, the property has the value INVALID_LIST_POSITIONgenerated/jsx.ts:3112
selectedId?string | nullID of the initially selected itemgenerated/jsx.ts:3126
useSubtitle?booleanWhether 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