ShortcutsGroup


Object Hierarchy:

Gtk.ShortcutsGroup Gtk.ShortcutsGroup Gtk.ShortcutsGroup Gtk.Box Gtk.Box Gtk.Box->Gtk.ShortcutsGroup Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.Box GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Gtk.Accessible Gtk.Accessible Gtk.Accessible->Gtk.ShortcutsGroup Gtk.Accessible->Gtk.Box Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Gtk.ShortcutsGroup Gtk.Buildable->Gtk.Box Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Gtk.ShortcutsGroup Gtk.ConstraintTarget->Gtk.Box Gtk.ConstraintTarget->Gtk.Widget Gtk.Orientable Gtk.Orientable Gtk.Orientable->Gtk.ShortcutsGroup Gtk.Orientable->Gtk.Box

Description:

[ CCode ( type_id = "gtk_shortcuts_group_get_type ()" ) ]
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.Widget
All known members inherited from interface Gtk.Orientable