Gtk.ShortcutsSection¶
- Subclasses:
None
Methods¶
Virtual Methods¶
Properties¶
- Inherited:
Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/en |
Maximum Height |
||
r/w |
Section Name |
||
r/w |
Title |
||
r/w/en |
View Name |
Child Properties¶
- Inherited:
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Class Details¶
- class Gtk.ShortcutsSection(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A
Gtk.ShortcutsSection
collects all the keyboard shortcuts and gestures for a major application mode. If your application needs multiple sections, you should give each section a uniqueGtk.ShortcutsSection
:section-name
and aGtk.ShortcutsSection
:title
that can be shown in the section selector of theGtk.ShortcutsWindow
.The
Gtk.ShortcutsSection
: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.ShortcutsWindow
.
Signal Details¶
Property Details¶
- Gtk.ShortcutsSection.props.max_height¶
- Name:
max-height
- Type:
- Default Value:
15
- Flags:
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.
- Gtk.ShortcutsSection.props.section_name¶
-
A unique name to identify this section among the sections added to the
Gtk.ShortcutsWindow
. Setting theGtk.ShortcutsWindow
:section-name
property to this string will make this section shown in theGtk.ShortcutsWindow
.
- Gtk.ShortcutsSection.props.title¶
-
The string to show in the section selector of the
Gtk.ShortcutsWindow
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.
- Gtk.ShortcutsSection.props.view_name¶
- Name:
view-name
- Type:
- Default Value:
- Flags:
A view name to filter the groups in this section by. See
Gtk.ShortcutsGroup
:view
.Applications are expected to use the
Gtk.ShortcutsWindow
:view-name
property for this purpose.