ShortcutsGroup
Object Hierarchy:
Description:
[ CCode ( type_id = "gtk_shortcuts_group_get_type ()" ) ]
public sealed class ShortcutsGroup : Box, Accessible, Buildable, ConstraintTarget, Orientable
public sealed class ShortcutsGroup : Box, Accessible, Buildable, ConstraintTarget, Orientable
A `GtkShortcutsGroup` represents a group of related keyboard shortcuts or gestures.
The group has a title. It may optionally be associated with a view of the application, which can be used to show only relevant shortcuts depending on the application context.
This widget is only meant to be used with [class@Gtk.ShortcutsWindow].
The recommended way to construct a `GtkShortcutsGroup` is with [class@Gtk.Builder], by using the `<child>` tag to populate a `GtkShortcutsGroup` with one or more [class@Gtk.ShortcutsShortcut] instances.
If you need to add a shortcut programmatically, use [method@Gtk.ShortcutsGroup.add_shortcut].
Namespace: Gtk
Package: gtk4
Content:
Properties:
Creation methods:
Methods:
Inherited Members:
All known members inherited from class Gtk.Box
All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Accessible
All known members inherited from interface Gtk.Buildable
All known members inherited from interface Gtk.Orientable