gtk.shortcuts_shortcut
Module for [ShortcutsShortcut] class
Types 3
classShortcutsShortcut : gtk.box.Box
A GtkShortcutsShortcut represents a single keyboard shortcut or gesture with a short text. This widget is only meant to be used with #GtkShortcutsWindow.
Methods
ShortcutsShortcutGidBuilder builder() static nothrowGet builder for [gtk.shortcuts_shortcut.ShortcutsShortcut] Returns: New builder objectvoid accelSizeGroup(gtk.size_group.SizeGroup propval) @property nothrowSet `accelSizeGroup` property. Params: propval = The size group for the accelerator portion of this shortcut.string accelerator() @property nothrowGet `accelerator` property. Returns: The accelerator(s) represented by this object. This property is used if #GtkShortcutsShortcut:shortcut-type is set to #GTK_SHORTCUT_ACCELERATOR.void accelerator(string propval) @property nothrowSet `accelerator` property. Params: propval = The accelerator(s) represented by this object. This property is used if #GtkShortcutsShortcut:shortcut-type is set to #GTK_SHORTCUT_ACCELERATOR.string actionName() @property nothrowGet `actionName` property. Returns: A detailed action name. If this is set for a shortcut of type [gtk.types.ShortcutType.Accelerator], then GTK+ will use the accelerators that are associated with ...void actionName(string propval) @property nothrowSet `actionName` property. Params: propval = A detailed action name. If this is set for a shortcut of type [gtk.types.ShortcutType.Accelerator], then GTK+ will use the accelerators that are associa...gtk.types.TextDirection direction() @property nothrowGet `direction` property. Returns: The text direction for which this shortcut is active. If the shortcut is used regardless of the text direction, set this property to #GTK_TEXT_DIR_NONE.void direction(gtk.types.TextDirection propval) @property nothrowSet `direction` property. Params: propval = The text direction for which this shortcut is active. If the shortcut is used regardless of the text direction, set this property to #GTK_TEXT_DIR_NONE.gio.icon.Icon icon() @property nothrowGet `icon` property. Returns: An icon to represent the shortcut or gesture. This property is used if #GtkShortcutsShortcut:shortcut-type is set to #GTK_SHORTCUT_GESTURE. For the other predefined ge...void icon(gio.icon.Icon propval) @property nothrowSet `icon` property. Params: propval = An icon to represent the shortcut or gesture. This property is used if #GtkShortcutsShortcut:shortcut-type is set to #GTK_SHORTCUT_GESTURE. For the other pred...void iconSet(bool propval) @property nothrowSet `iconSet` property. Params: propval = true if an icon has been set.gtk.types.ShortcutType shortcutType() @property nothrowGet `shortcutType` property. Returns: The type of shortcut that is represented.void shortcutType(gtk.types.ShortcutType propval) @property nothrowSet `shortcutType` property. Params: propval = The type of shortcut that is represented.string subtitle() @property nothrowGet `subtitle` property. Returns: The subtitle for the shortcut or gesture.void subtitle(string propval) @property nothrowSet `subtitle` property. Params: propval = The subtitle for the shortcut or gesture.bool subtitleSet() @property nothrowGet `subtitleSet` property. Returns: true if a subtitle has been set.void subtitleSet(bool propval) @property nothrowSet `subtitleSet` property. Params: propval = true if a subtitle has been set.string title() @property nothrowGet `title` property. Returns: The textual description for the shortcut or gesture represented by this object. This should be a short string that can fit in a single line.void title(string propval) @property nothrowSet `title` property. Params: propval = The textual description for the shortcut or gesture represented by this object. This should be a short string that can fit in a single line.void titleSizeGroup(gtk.size_group.SizeGroup propval) @property nothrowSet `titleSizeGroup` property. Params: propval = The size group for the textual portion of this shortcut.Fluent builder implementation template for gtk.shortcuts_shortcut.ShortcutsShortcut
Methods
T accelSizeGroup(gtk.size_group.SizeGroup propval) nothrowSet `accelSizeGroup` property. Params: propval = The size group for the accelerator portion of this shortcut.T accelerator(string propval) nothrowSet `accelerator` property. Params: propval = The accelerator(s) represented by this object. This property is used if #GtkShortcutsShortcut:shortcut-type is set to #GTK_SHORTCUT_ACCELERATOR.T actionName(string propval) nothrowSet `actionName` property. Params: propval = A detailed action name. If this is set for a shortcut of type [gtk.types.ShortcutType.Accelerator], then GTK+ will use the accelerators that are associa...T direction(gtk.types.TextDirection propval) nothrowSet `direction` property. Params: propval = The text direction for which this shortcut is active. If the shortcut is used regardless of the text direction, set this property to #GTK_TEXT_DIR_NONE. ...T icon(gio.icon.Icon propval) nothrowSet `icon` property. Params: propval = An icon to represent the shortcut or gesture. This property is used if #GtkShortcutsShortcut:shortcut-type is set to #GTK_SHORTCUT_GESTURE. For the other pred...T iconSet(bool propval) nothrowSet `iconSet` property. Params: propval = true if an icon has been set. Returns: Builder instance for fluent chainingT shortcutType(gtk.types.ShortcutType propval) nothrowSet `shortcutType` property. Params: propval = The type of shortcut that is represented. Returns: Builder instance for fluent chainingT subtitle(string propval) nothrowSet `subtitle` property. Params: propval = The subtitle for the shortcut or gesture.T subtitleSet(bool propval) nothrowSet `subtitleSet` property. Params: propval = true if a subtitle has been set. Returns: Builder instance for fluent chainingT title(string propval) nothrowSet `title` property. Params: propval = The textual description for the shortcut or gesture represented by this object. This should be a short string that can fit in a single line. Returns: Builder...T titleSizeGroup(gtk.size_group.SizeGroup propval) nothrowSet `titleSizeGroup` property. Params: propval = The size group for the textual portion of this shortcut.Fluent builder for gtk.shortcuts_shortcut.ShortcutsShortcut
Methods