gtk.shortcuts_section

Module for [ShortcutsSection] class

Types 3

A GtkShortcutsSection collects all the keyboard shortcuts and gestures for a major application mode. If your application needs multiple sections, you should give each section a unique #GtkShortcutsSection:section-name and a #GtkShortcutsSection:title that can be shown in the section selector of the GtkShortcutsWindow.

The #GtkShortcutsSection:max-height property can be used to influence how the groups in the section are distributed over pages and columns.

This widget is only meant to be used with #GtkShortcutsWindow.

Methods
GType _gType() @property
ShortcutsSection self()Returns `this`, for use in `with` statements.
ShortcutsSectionGidBuilder builder()Get builder for [gtk.shortcuts_section.ShortcutsSection] Returns: New builder object
uint maxHeight() @propertyGet `maxHeight` property. Returns: 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. T...
void maxHeight(uint propval) @propertySet `maxHeight` property. Params: propval = 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 c...
string sectionName() @propertyGet `sectionName` property. Returns: A unique name to identify this section among the sections added to the GtkShortcutsWindow. Setting the #GtkShortcutsWindow:section-name property to this string ...
void sectionName(string propval) @propertySet `sectionName` property. Params: propval = A unique name to identify this section among the sections added to the GtkShortcutsWindow. Setting the #GtkShortcutsWindow:section-name property to thi...
string title() @propertyGet `title` property. Returns: 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 ...
void title(string propval) @propertySet `title` property. Params: propval = 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...
string viewName() @propertyGet `viewName` property. Returns: A view name to filter the groups in this section by. See #GtkShortcutsGroup:view.
void viewName(string propval) @propertySet `viewName` property. Params: propval = A view name to filter the groups in this section by. See #GtkShortcutsGroup:view.
gulong connectChangeCurrentPage(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == bool) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == int))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.shortcuts_section.ShortcutsSection))) && Parameters!T.length < 3)Connect to `ChangeCurrentPage` signal.
Constructors
this(void * ptr, Flag!"Take" take)
Methods
T maxHeight(uint propval)Set `maxHeight` property. Params: propval = 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 c...
T sectionName(string propval)Set `sectionName` property. Params: propval = A unique name to identify this section among the sections added to the GtkShortcutsWindow. Setting the #GtkShortcutsWindow:section-name property to thi...
T title(string propval)Set `title` property. Params: propval = 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...
T viewName(string propval)Set `viewName` property. Params: propval = A view name to filter the groups in this section by. See #GtkShortcutsGroup:view.

Fluent builder for [gtk.shortcuts_section.ShortcutsSection]