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
GType _getGType() static nothrow
GType _gType() @property nothrow
ShortcutsShortcut self() nothrowReturns `this`, for use in `with` statements.
ShortcutsShortcutGidBuilder builder() static nothrowGet builder for [gtk.shortcuts_shortcut.ShortcutsShortcut] 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 this shortcut.
string accelerator() @property nothrowGet `accelerator` property. Returns: The accelerator(s) represented by this object.
void accelerator(string propval) @property nothrowSet `accelerator` property. Params: propval = The accelerator(s) represented by this object.
string actionName() @property nothrowGet `actionName` property. Returns: A detailed action name.
void actionName(string propval) @property nothrowSet `actionName` property. Params: propval = A detailed action name.
gtk.types.TextDirection direction() @property nothrowGet `direction` property. Returns: The text direction for which this shortcut is active.
void direction(gtk.types.TextDirection propval) @property nothrowSet `direction` property. Params: propval = The text direction for which this shortcut is active.
gio.icon.Icon icon() @property nothrowGet `icon` property. Returns: An icon to represent the shortcut or gesture.
void icon(gio.icon.Icon propval) @property nothrowSet `icon` property. Params: propval = An icon to represent the shortcut or gesture.
bool iconSet() @property nothrowGet `iconSet` property. Returns: true if an icon has been set.
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.
void title(string propval) @property nothrowSet `title` property. Params: propval = The textual description for the shortcut or gesture represented by this object.
void titleSizeGroup(gtk.size_group.SizeGroup propval) @property nothrowSet `titleSizeGroup` property. Params: propval = The size group for the textual portion of this shortcut.
Constructors
this(void * ptr, Flag!"Take" take)

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.
T actionName(string propval) nothrowSet `actionName` property. Params: propval = A detailed action name.
T direction(gtk.types.TextDirection propval) nothrowSet `direction` property. Params: propval = The text direction for which this shortcut is active.
T icon(gio.icon.Icon propval) nothrowSet `icon` property. Params: propval = An icon to represent the shortcut or gesture.
T iconSet(bool propval) nothrowSet `iconSet` property. Params: propval = true if an icon has been set. Returns: Builder instance for fluent chaining
T shortcutType(gtk.types.ShortcutType propval) nothrowSet `shortcutType` property. Params: propval = The type of shortcut that is represented. Returns: Builder instance for fluent chaining
T 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 chaining
T title(string propval) nothrowSet `title` property. Params: propval = The textual description for the shortcut or gesture represented by this object.
T titleSizeGroup(gtk.size_group.SizeGroup propval) nothrowSet `titleSizeGroup` property. Params: propval = The size group for the textual portion of this shortcut.