Skip to main content

Type Alias: GtkSearchBarProps

GtkSearchBarProps = WidgetProps & object

Defined in: generated/jsx.ts:8053

Props for the GtkSearchBar widget.

Type Declaration

NameTypeDescriptionDefined in
child?Gtk.Widget | nullThe child widget.generated/jsx.ts:8055
children?ReactNode-generated/jsx.ts:8062
keyCaptureWidget?Gtk.Widget | nullThe key capture widget.generated/jsx.ts:8057
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:8068
ref?Ref<Gtk.SearchBar>-generated/jsx.ts:8074
searchModeEnabled?booleanWhether the search mode is on and the search bar shown.generated/jsx.ts:8059
showCloseButton?booleanWhether to show the close button in the search bar.generated/jsx.ts:8061