Class
GtkShortcut
Description [src]
final class Gtk.Shortcut : GObject.Object
{
/* No available fields */
}
Describes a keyboard shortcut.
It contains a description of how to trigger the shortcut via a
GtkShortcutTrigger and a way to activate the shortcut
on a widget via a GtkShortcutAction.
The actual work is usually done via GtkShortcutController,
which decides if and when to activate a shortcut. Using that controller
directly however is rarely necessary as various higher level
convenience APIs exist on GtkWidgets that make it easier to use
shortcuts in GTK.
GtkShortcut does provide functionality to make it easy for users
to work with shortcuts, either by providing informational strings
for display purposes or by allowing shortcuts to be configured.
Constructors
gtk_shortcut_new_with_arguments
Creates a new GtkShortcut that is triggered by trigger and then activates
action with arguments given by format_string.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.