Skip to main content

Type Alias: GtkShortcutsWindowProps

GtkShortcutsWindowProps = Omit<GtkWindowProps, "onNotify"> & object

Defined in: generated/jsx.ts:8484

Props for the GtkShortcutsWindow widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:8518
onClose()?(self) => void | nullEmitted when the user uses a keybinding to close the window. This is a keybinding signal. The default binding for this signal is the Escape key.generated/jsx.ts:8509
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:8524
onSearch()?(self) => void | nullEmitted when the user uses a keybinding to start a search. This is a keybinding signal. The default binding for this signal is Control+F.generated/jsx.ts:8517
ref?Ref<Gtk.ShortcutsWindow>-generated/jsx.ts:8525
sectionName?stringThe name of the section to show. This should be the section-name of one of the GtkShortcutsSection objects that are in this shortcuts window.generated/jsx.ts:8491
viewName?stringThe view name by which to filter the contents. This should correspond to the ShortcutsGroup.view property of some of the ShortcutsGroup objects that are inside this shortcuts window. Set this to %NULL to show all groups.generated/jsx.ts:8501