gtk.shortcuts_group

Module for [ShortcutsGroup] class

Types 3

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.

Methods
GType _gType() @property
ShortcutsGroup self()Returns `this`, for use in `with` statements.
ShortcutsGroupGidBuilder builder()Get builder for [gtk.shortcuts_group.ShortcutsGroup] Returns: New builder object
void accelSizeGroup(gtk.size_group.SizeGroup propval) @propertySet `accelSizeGroup` property. Params: propval = The size group for the accelerator portion of shortcuts in this group.
uint height() @propertyGet `height` property. Returns: A rough measure for the number of lines in this group.
string title() @propertyGet `title` property. Returns: The title for this group of shortcuts.
void title(string propval) @propertySet `title` property. Params: propval = The title for this group of shortcuts.
void titleSizeGroup(gtk.size_group.SizeGroup propval) @propertySet `titleSizeGroup` property. Params: propval = The size group for the textual portion of shortcuts in this group.
string view() @propertyGet `view` property. Returns: An optional view that the shortcuts in this group are relevant for. The group will be hidden if the #GtkShortcutsWindow:view-name property does not match the view of t...
void view(string propval) @propertySet `view` property. Params: propval = An optional view that the shortcuts in this group are relevant for. The group will be hidden if the #GtkShortcutsWindow:view-name property does not match the ...
Constructors
this(void * ptr, Flag!"Take" take)
Methods
T accelSizeGroup(gtk.size_group.SizeGroup propval)Set `accelSizeGroup` property. Params: propval = The size group for the accelerator portion of shortcuts in this group.
T title(string propval)Set `title` property. Params: propval = The title for this group of shortcuts. Returns: Builder instance for fluent chaining
T titleSizeGroup(gtk.size_group.SizeGroup propval)Set `titleSizeGroup` property. Params: propval = The size group for the textual portion of shortcuts in this group.
T view(string propval)Set `view` property. Params: propval = An optional view that the shortcuts in this group are relevant for. The group will be hidden if the #GtkShortcutsWindow:view-name property does not match the ...

Fluent builder for [gtk.shortcuts_group.ShortcutsGroup]