Class

GtkShortcutsShortcut

[]

Description [src]

final class Gtk.ShortcutsShortcut : Gtk.Box
  implements Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
  /* No available fields */
}

A GtkShortcutsShortcut represents a single keyboard shortcut or gesture with a short text. This widget is only meant to be used with GtkShortcutsWindow.

[]

Hierarchy

hierarchy this GtkShortcutsShortcut implements_0 AtkImplementorIface this--implements_0 implements_1 GtkBuildable this--implements_1 implements_2 GtkOrientable this--implements_2 ancestor_0 GtkBox ancestor_0--this ancestor_1 GtkContainer ancestor_1--ancestor_0 ancestor_2 GtkWidget ancestor_2--ancestor_1 ancestor_3 GInitiallyUnowned ancestor_3--ancestor_2 ancestor_4 GObject ancestor_4--ancestor_3
[]

Instance methods

Methods inherited from GtkBox (13)
Methods inherited from GtkContainer (33)
Methods inherited from GtkWidget (263)
Methods inherited from GObject (43)
Methods inherited from GtkBuildable (10)
Methods inherited from GtkOrientable (2)
[]

Properties

Gtk.ShortcutsShortcut:accel-size-group

The size group for the accelerator portion of this shortcut.

Gtk.ShortcutsShortcut:accelerator

The accelerator(s) represented by this object. This property is used if GtkShortcutsShortcut:shortcut-type is set to #GTK_SHORTCUT_ACCELERATOR.

Gtk.ShortcutsShortcut:action-name

A detailed action name. If this is set for a shortcut of type GTK_SHORTCUT_ACCELERATOR, then GTK+ will use the accelerators that are associated with the action via gtk_application_set_accels_for_action(), and setting GtkShortcutsShortcut::accelerator is not necessary.

since: 3.22

Gtk.ShortcutsShortcut:direction

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.

Gtk.ShortcutsShortcut:icon

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 gesture types, GTK+ provides an icon on its own.

Gtk.ShortcutsShortcut:icon-set

TRUE if an icon has been set.

Gtk.ShortcutsShortcut:shortcut-type

The type of shortcut that is represented.

Gtk.ShortcutsShortcut:subtitle

The subtitle for the shortcut or gesture.

Gtk.ShortcutsShortcut:subtitle-set

TRUE if a subtitle has been set.

Gtk.ShortcutsShortcut:title

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.

Gtk.ShortcutsShortcut:title-size-group

The size group for the textual portion of this shortcut.

Properties inherited from GtkBox (3)
Properties inherited from GtkContainer (3)
Properties inherited from GtkWidget (39)
Properties inherited from GtkOrientable (1)
[]

Signals

Signals inherited from GtkContainer (4)
Signals inherited from GtkWidget (69)
Signals inherited from GObject (1)

Class structure