ShortcutTrigger
Object Hierarchy:
Gtk.ShortcutTrigger
Gtk.ShortcutTrigger
Gtk.ShortcutTrigger
GLib.Object
GLib.Object
GLib.Object->Gtk.ShortcutTrigger
Description:
[ CCode ( type_id = "gtk_shortcut_trigger_get_type ()" ) ]public abstract class ShortcutTrigger : Object
`GtkShortcutTrigger` tracks how a `GtkShortcut` should be activated.
To find out if a `GtkShortcutTrigger` triggers, you can call [[email protected] ] 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.
Content:
Static methods:
Creation methods:
Methods:
public int compare (ShortcutTrigger trigger2)
The types of this and trigger2
are `gconstpointer` only to allow use of this function as a `GCompareFunc`.
public bool equal (ShortcutTrigger trigger2)
Checks if this and trigger2
trigger under the same conditions.
public uint hash ()
Generates a hash value for a `GtkShortcutTrigger`.
public void print (StringBuilder str)
Prints the given trigger into a string for the developer.
public bool print_label (Display display, StringBuilder str)
Prints the given trigger into a string.
public string to_label (Display display)
Gets textual representation for the given trigger.
public string to_string ()
Prints the given trigger into a human-readable string.
public KeyMatch trigger (Event event, bool enable_mnemonics)
Checks if the given event
triggers
this .
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref