Skip to main content

Type Alias: GtkShortcutsWindowProps

GtkShortcutsWindowProps = GtkWindowProps & object

Defined in: generated/jsx.ts:6838

Props for the GtkShortcutsWindow widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:6872
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:6863
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:6871
ref?Ref<Gtk.ShortcutsWindow>-generated/jsx.ts:6873
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:6845
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:6855