gtk.shortcuts_group
Module for [ShortcutsGroup] class
Types 3
A gtk.shortcuts_group.ShortcutsGroup 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 gtk.shortcuts_window.ShortcutsWindow.
The recommended way to construct a gtk.shortcuts_group.ShortcutsGroup is with gtk.builder.Builder, by using the <child> tag to populate a gtk.shortcuts_group.ShortcutsGroup with one or more gtk.shortcuts_shortcut.ShortcutsShortcut instances.
If you need to add a shortcut programmatically, use gtk.shortcuts_group.ShortcutsGroup.addShortcut.
ShortcutsGroupGidBuilder builder() static nothrowGet builder for [gtk.shortcuts_group.ShortcutsGroup] Returns: New builder objectvoid 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.void view(string propval) @property nothrowSet `view` property. Params: propval = An optional view that the shortcuts in this group are relevant for.void addShortcut(gtk.shortcuts_shortcut.ShortcutsShortcut shortcut) nothrowAdds a shortcut to the shortcuts group.Fluent builder implementation template for gtk.shortcuts_group.ShortcutsGroup
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 chainingT 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.Fluent builder for gtk.shortcuts_group.ShortcutsGroup