Package org.gnome.gtk

Class ShortcutsSection

java.lang.Object
All Implemented Interfaces:
Proxy, Accessible, Buildable, ConstraintTarget, Orientable

@Generated("io.github.jwharm.JavaGI") public class ShortcutsSection extends Box implements Accessible, Buildable, ConstraintTarget, Orientable
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 Gtk.ShortcutsSection:section-name and a Gtk.ShortcutsSection:title that can be shown in the section selector of the 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 ShortcutsWindow.

The recommended way to construct a GtkShortcutsSection is with GtkBuilder, by using the <child> tag to populate a GtkShortcutsSection with one or more ShortcutsGroup instances, which in turn contain one or more ShortcutsShortcut objects.

If you need to add a group programmatically, use addGroup(org.gnome.gtk.ShortcutsGroup).

Shortcuts and Gestures
Pan gestures allow to navigate between sections.

The following signals have default keybindings:

  • Gtk.ShortcutsSection::change-current-page