Skip to main content

Type Alias: GtkShortcutsSectionProps

GtkShortcutsSectionProps = GtkBoxProps & object

Defined in: generated/jsx.ts:6699

Props for the GtkShortcutsSection widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:6742
maxHeight?numberThe 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:6707
onChangeCurrentPage?(offset, self) => boolean | nullEmitted when we change the current page. The default bindings for this signal are Ctrl+PgUp, PgUp, Ctrl+PgDn, PgDn.generated/jsx.ts:6741
ref?Ref<Gtk.ShortcutsSection>-generated/jsx.ts:6743
sectionName?stringA 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:6715
title?stringThe 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:6723
viewName?stringA 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:6733