GtkShortcutsGroup — Represents a group of shortcuts in a GtkShortcutsWindow
GtkSizeGroup * | accel-size-group | Write |
guint | height | Read |
char * | title | Read / Write |
GtkSizeGroup * | title-size-group | Write |
char * | view | Read / Write |
GtkShortcutsGroup implements GtkAccessible, GtkBuildable, GtkConstraintTarget and GtkOrientable.
#include <gtk/gtk.h>
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 GtkShortcutsWindow.
typedef struct _GtkShortcutsGroup GtkShortcutsGroup;
“accel-size-group”
property“accel-size-group” GtkSizeGroup *
The size group for the accelerator portion of shortcuts in this group.
This is used internally by GTK, and must not be modified by applications.
Owner: GtkShortcutsGroup
Flags: Write
“height”
property“height” guint
A rough measure for the number of lines in this group.
This is used internally by GTK, and is not useful for applications.
Owner: GtkShortcutsGroup
Flags: Read
Default value: 1
“title”
property“title” char *
The title for this group of shortcuts.
Owner: GtkShortcutsGroup
Flags: Read / Write
Default value: ""
“title-size-group”
property“title-size-group” GtkSizeGroup *
The size group for the textual portion of shortcuts in this group.
This is used internally by GTK, and must not be modified by applications.
Owner: GtkShortcutsGroup
Flags: Write
“view”
property“view” char *
An optional view that the shortcuts in this group are relevant for. The group will be hidden if the “view-name” property does not match the view of this group.
Set this to NULL
to make the group always visible.
Owner: GtkShortcutsGroup
Flags: Read / Write
Default value: NULL
© 2005–2020 The GNOME Project
Licensed under the GNU Lesser General Public License version 2.1 or later.
https://developer.gnome.org/gtk4/4.0/GtkShortcutsGroup.html