Skip to main content

Type Alias: GtkShortcutLabelProps

GtkShortcutLabelProps = WidgetProps & object

Defined in: generated/jsx.ts:8249

Props for the GtkShortcutLabel widget.

Type Declaration

NameTypeDescriptionDefined in
accelerator?string | nullThe accelerator that self displays. See ShortcutsShortcut.accelerator for the accepted syntax.generated/jsx.ts:8256
disabledText?string | nullThe text that is displayed when no accelerator is set.generated/jsx.ts:8258
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:8264
ref?Ref<Gtk.ShortcutLabel>-generated/jsx.ts:8265