Type Alias: GtkShortcutsSectionProps
GtkShortcutsSectionProps =
Omit<GtkBoxProps,"onNotify"> &object
Defined in: generated/jsx.ts:8315
Props for the GtkShortcutsSection widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
children? | ReactNode | - | generated/jsx.ts:8358 |
maxHeight? | number | The maximum number of lines to allow per column. This property can be used to influence how the groups in this section are distributed across pages and columns. The default value of 15 should work in most cases. | generated/jsx.ts:8323 |
onChangeCurrentPage()? | (self, offset) => boolean | null | Emitted when we change the current page. The default bindings for this signal are Ctrl+PgUp, PgUp, Ctrl+PgDn, PgDn. | generated/jsx.ts:8357 |
onNotify? | (self, propName) => void | null | Called 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:8364 |
ref? | Ref<Gtk.ShortcutsSection> | - | generated/jsx.ts:8367 |
sectionName? | string | A unique name to identify this section among the sections added to the GtkShortcutsWindow. Setting the ShortcutsWindow.section-name property to this string will make this section shown in the GtkShortcutsWindow. | generated/jsx.ts:8331 |
title? | string | The string to show in the section selector of the GtkShortcutsWindow for this section. If there is only one section, you don't need to set a title, since the section selector will not be shown in this case. | generated/jsx.ts:8339 |
viewName? | string | A view name to filter the groups in this section by. See ShortcutsGroup.view. Applications are expected to use the ShortcutsWindow.view-name property for this purpose. | generated/jsx.ts:8349 |