Skip to main content

Type Alias: GtkShortcutControllerProps

GtkShortcutControllerProps = EventControllerBaseProps & object

Defined in: generated/jsx.ts:10472

Props for the GtkShortcutController controller element.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNodeShortcut children (x.Shortcut elements).generated/jsx.ts:10487
mnemonicModifiers?Gdk.ModifierTypeThe modifiers that need to be pressed to allow mnemonics activation.generated/jsx.ts:10474
onItemsChanged()?(position, removed, added, self) => void | nullThis signal is emitted whenever items were added to or removed from list. At position, removed items were removed and added items were added in their place. Note: If removed != added, the positions of all later items in the model change.generated/jsx.ts:10485
ref?Ref<Gtk.ShortcutController>-generated/jsx.ts:10488
scope?Gtk.ShortcutScopeWhat scope the shortcuts will be handled in.generated/jsx.ts:10476