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 _getGType() static nothrow
GType _gType() @property nothrow
ShortcutsGroup self() nothrowReturns `this`, for use in `with` statements.
ShortcutsGroupGidBuilder builder() static nothrowGet builder for [gtk.shortcuts_group.ShortcutsGroup] Returns: New builder object
void accelSizeGroup(gtk.size_group.SizeGroup propval) @property nothrowSet `accelSizeGroup` property. Params: propval = The size group for the accelerator portion of shortcuts in this group.
uint height() @property nothrowGet `height` property. Returns: A rough measure for the number of lines in this group.
string title() @property nothrowGet `title` property. Returns: The title for this group of shortcuts.
void title(string propval) @property nothrowSet `title` property. Params: propval = The title for this group of shortcuts.
void titleSizeGroup(gtk.size_group.SizeGroup propval) @property nothrowSet `titleSizeGroup` property. Params: propval = The size group for the textual portion of shortcuts in this group.
string view() @property nothrowGet `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) @property nothrowSet `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)

Fluent builder implementation template for gtk.shortcuts_group.ShortcutsGroup

Methods
T accelSizeGroup(gtk.size_group.SizeGroup propval) nothrowSet `accelSizeGroup` property. Params: propval = The size group for the accelerator portion of shortcuts in this group.
T title(string propval) nothrowSet `title` property. Params: propval = The title for this group of shortcuts. Returns: Builder instance for fluent chaining
T titleSizeGroup(gtk.size_group.SizeGroup propval) nothrowSet `titleSizeGroup` property. Params: propval = The size group for the textual portion of shortcuts in this group.
T view(string propval) nothrowSet `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 ...
Methods
ShortcutsGroup build() nothrowCreate object from builder. Returns: New object