Class
GtkShortcutTrigger
since: 4.0
Description [src]
abstract class Gtk.ShortcutTrigger : GObject.Object
{
/* No available fields */
}
GtkShortcutTrigger tracks how a GtkShortcut should be activated.
To find out if a GtkShortcutTrigger triggers, you can call
gtk_shortcut_trigger_trigger() on a GdkEvent.
GtkShortcutTriggers contain functions that allow easy presentation
to end users as well as being printed for debugging.
All GtkShortcutTriggers are immutable, you can only specify their
properties during construction. If you want to change a trigger, you
have to replace it with a new one.
Available since: 4.0
Instance methods
gtk_shortcut_trigger_compare
The types of trigger1 and trigger2 are gconstpointer only to allow
use of this function as a GCompareFunc.
since: 4.0
gtk_shortcut_trigger_equal
Checks if trigger1 and trigger2 trigger under the same conditions.
since: 4.0
gtk_shortcut_trigger_print
Prints the given trigger into a string for the developer. This is meant for debugging and logging.
since: 4.0
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.
since: 2.0