Package: gtk

Class gtk-shortcuts-section

Superclasses

gtk-box, gtk-container, gtk-widget, gtk-buildable, gtk-orientable, g-object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

max-height
The max-heigth property of type :uint (Read / Write)
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 for most cases.
Default value: 15
section-name
The section-name property of type :string (Read / Write)
A unique name to identify this section among the sections added to the gtk-shortcuts-window. Setting the section-name property to this string will make this section shown in the gtk-shortcuts-window.
Default value: nil
title
The title property of type :string (Read / Write)
The string to show in the section selector of the gtk-shortcuts-window 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.
Default value: nil
view-name
The view-name property of type :string (Read / Write)
A view name to filter the groups in this section by. See "view". Applications are expected to use the view-name property for this purpose.
Default value: nil

Details

A gtk-shortcuts-section widget 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 section-name and a title that can be shown in the section selector of the gtk-shortcuts-window widget.

The 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 gtk-shortcuts-window widgets.

Signal Details

The "change-current-page" signal
 lambda (shortcutsection arg)    : Action      
shortcutswindow
The gtk-shortcuts-window object.
arg
A :int.
 

Slot Access Functions

Inherited Slot Access Functions

2020-9-8