Top | ![]() |
![]() |
![]() |
![]() |
GBoxed ╰── DzlShortcutChord GEnum ╰── DzlShortcutMatch gpointer ╰── DzlShortcutChordTable
void (*DzlShortcutChordTableForeach) (const DzlShortcutChord *chord
,gpointer chord_data
,gpointer user_data
);
DzlShortcutChord *
dzl_shortcut_chord_new_from_event (const GdkEventKey *event
);
DzlShortcutChord *
dzl_shortcut_chord_new_from_string (const gchar *accelerator
);
gchar *
dzl_shortcut_chord_to_string (const DzlShortcutChord *self
);
gchar *
dzl_shortcut_chord_get_label (const DzlShortcutChord *self
);
guint
dzl_shortcut_chord_get_length (const DzlShortcutChord *self
);
void dzl_shortcut_chord_get_nth_key (const DzlShortcutChord *self
,guint nth
,guint *keyval
,GdkModifierType *modifier
);
gboolean
dzl_shortcut_chord_has_modifier (const DzlShortcutChord *self
);
gboolean dzl_shortcut_chord_append_event (DzlShortcutChord *self
,const GdkEventKey *event
);
DzlShortcutMatch dzl_shortcut_chord_match (const DzlShortcutChord *self
,const DzlShortcutChord *other
);
gboolean dzl_shortcut_chord_equal (gconstpointer data1
,gconstpointer data2
);
DzlShortcutChord *
dzl_shortcut_chord_copy (const DzlShortcutChord *self
);
void dzl_shortcut_chord_table_set_free_func (DzlShortcutChordTable *self
,GDestroyNotify notify
);
void dzl_shortcut_chord_table_add (DzlShortcutChordTable *self
,const DzlShortcutChord *chord
,gpointer data
);
gboolean dzl_shortcut_chord_table_remove (DzlShortcutChordTable *self
,const DzlShortcutChord *chord
);
gboolean dzl_shortcut_chord_table_remove_data (DzlShortcutChordTable *self
,gpointer data
);
DzlShortcutMatch dzl_shortcut_chord_table_lookup (DzlShortcutChordTable *self
,const DzlShortcutChord *chord
,gpointer *data
);
const DzlShortcutChord * dzl_shortcut_chord_table_lookup_data (DzlShortcutChordTable *self
,gpointer data
);
guint
dzl_shortcut_chord_table_size (const DzlShortcutChordTable *self
);
void dzl_shortcut_chord_table_foreach (const DzlShortcutChordTable *self
,DzlShortcutChordTableForeach foreach_func
,gpointer foreach_data
);
This function will call foreach_func
for each chord in the table.
void
dzl_shortcut_chord_table_printf (const DzlShortcutChordTable *self
);