gtk.shortcuts_shortcut
Module for [ShortcutsShortcut] class
Types 3
A [gtk.shortcuts_shortcut.ShortcutsShortcut] represents a single keyboard shortcut or gesture with a short text.
This widget is only meant to be used with [gtk.shortcuts_window.ShortcutsWindow].
Methods
ShortcutsShortcut self()Returns `this`, for use in `with` statements.ShortcutsShortcutGidBuilder builder()Get builder for [gtk.shortcuts_shortcut.ShortcutsShortcut] Returns: New builder objectvoid accelSizeGroup(gtk.size_group.SizeGroup propval) @propertySet `accelSizeGroup` property. Params: propval = The size group for the accelerator portion of this shortcut.string accelerator() @propertyGet `accelerator` property. Returns: The accelerator(s) represented by this object.void accelerator(string propval) @propertySet `accelerator` property. Params: propval = The accelerator(s) represented by this object.void actionName(string propval) @propertySet `actionName` property. Params: propval = A detailed action name.gtk.types.TextDirection direction() @propertyGet `direction` property. Returns: The text direction for which this shortcut is active.void direction(gtk.types.TextDirection propval) @propertySet `direction` property. Params: propval = The text direction for which this shortcut is active.gio.icon.Icon icon() @propertyGet `icon` property. Returns: An icon to represent the shortcut or gesture.void icon(gio.icon.Icon propval) @propertySet `icon` property. Params: propval = An icon to represent the shortcut or gesture.void iconSet(bool propval) @propertySet `iconSet` property. Params: propval = true if an icon has been set.gtk.types.ShortcutType shortcutType() @propertyGet `shortcutType` property. Returns: The type of shortcut that is represented.void shortcutType(gtk.types.ShortcutType propval) @propertySet `shortcutType` property. Params: propval = The type of shortcut that is represented.string subtitle() @propertyGet `subtitle` property. Returns: The subtitle for the shortcut or gesture.void subtitle(string propval) @propertySet `subtitle` property. Params: propval = The subtitle for the shortcut or gesture.void subtitleSet(bool propval) @propertySet `subtitleSet` property. Params: propval = true if a subtitle has been set.string title() @propertyGet `title` property. Returns: The textual description for the shortcut or gesture represented by this object.void title(string propval) @propertySet `title` property. Params: propval = The textual description for the shortcut or gesture represented by this object.void titleSizeGroup(gtk.size_group.SizeGroup propval) @propertySet `titleSizeGroup` property. Params: propval = The size group for the textual portion of this shortcut.Methods
T accelSizeGroup(gtk.size_group.SizeGroup propval)Set `accelSizeGroup` property. Params: propval = The size group for the accelerator portion of this shortcut.T accelerator(string propval)Set `accelerator` property. Params: propval = The accelerator(s) represented by this object.T actionName(string propval)Set `actionName` property. Params: propval = A detailed action name.T direction(gtk.types.TextDirection propval)Set `direction` property. Params: propval = The text direction for which this shortcut is active.T icon(gio.icon.Icon propval)Set `icon` property. Params: propval = An icon to represent the shortcut or gesture.T iconSet(bool propval)Set `iconSet` property. Params: propval = true if an icon has been set. Returns: Builder instance for fluent chainingT shortcutType(gtk.types.ShortcutType propval)Set `shortcutType` property. Params: propval = The type of shortcut that is represented. Returns: Builder instance for fluent chainingT subtitle(string propval)Set `subtitle` property. Params: propval = The subtitle for the shortcut or gesture.T subtitleSet(bool propval)Set `subtitleSet` property. Params: propval = true if a subtitle has been set. Returns: Builder instance for fluent chainingT title(string propval)Set `title` property. Params: propval = The textual description for the shortcut or gesture represented by this object.T titleSizeGroup(gtk.size_group.SizeGroup propval)Set `titleSizeGroup` property. Params: propval = The size group for the textual portion of this shortcut.Fluent builder for [gtk.shortcuts_shortcut.ShortcutsShortcut]
Methods