dzl-shortcut-chord

dzl-shortcut-chord

Functions

Object Hierarchy

    GBoxed
    ╰── DzlShortcutChord
    GEnum
    ╰── DzlShortcutMatch
    gpointer
    ╰── DzlShortcutChordTable

Description

Functions

DzlShortcutChordTableForeach ()

void
(*DzlShortcutChordTableForeach) (const DzlShortcutChord *chord,
                                 gpointer chord_data,
                                 gpointer user_data);

dzl_shortcut_chord_new_from_event ()

DzlShortcutChord *
dzl_shortcut_chord_new_from_event (const GdkEventKey *event);

dzl_shortcut_chord_new_from_string ()

DzlShortcutChord *
dzl_shortcut_chord_new_from_string (const gchar *accelerator);

dzl_shortcut_chord_to_string ()

gchar *
dzl_shortcut_chord_to_string (const DzlShortcutChord *self);

dzl_shortcut_chord_get_label ()

gchar *
dzl_shortcut_chord_get_label (const DzlShortcutChord *self);

dzl_shortcut_chord_get_length ()

guint
dzl_shortcut_chord_get_length (const DzlShortcutChord *self);

dzl_shortcut_chord_get_nth_key ()

void
dzl_shortcut_chord_get_nth_key (const DzlShortcutChord *self,
                                guint nth,
                                guint *keyval,
                                GdkModifierType *modifier);

dzl_shortcut_chord_has_modifier ()

gboolean
dzl_shortcut_chord_has_modifier (const DzlShortcutChord *self);

dzl_shortcut_chord_append_event ()

gboolean
dzl_shortcut_chord_append_event (DzlShortcutChord *self,
                                 const GdkEventKey *event);

dzl_shortcut_chord_match ()

DzlShortcutMatch
dzl_shortcut_chord_match (const DzlShortcutChord *self,
                          const DzlShortcutChord *other);

dzl_shortcut_chord_hash ()

guint
dzl_shortcut_chord_hash (gconstpointer data);

dzl_shortcut_chord_equal ()

gboolean
dzl_shortcut_chord_equal (gconstpointer data1,
                          gconstpointer data2);

dzl_shortcut_chord_copy ()

DzlShortcutChord *
dzl_shortcut_chord_copy (const DzlShortcutChord *self);

dzl_shortcut_chord_free ()

void
dzl_shortcut_chord_free (DzlShortcutChord *self);

dzl_shortcut_chord_table_new ()

DzlShortcutChordTable *
dzl_shortcut_chord_table_new (void);

[skip]


dzl_shortcut_chord_table_set_free_func ()

void
dzl_shortcut_chord_table_set_free_func
                               (DzlShortcutChordTable *self,
                                GDestroyNotify notify);

dzl_shortcut_chord_table_free ()

void
dzl_shortcut_chord_table_free (DzlShortcutChordTable *self);

dzl_shortcut_chord_table_add ()

void
dzl_shortcut_chord_table_add (DzlShortcutChordTable *self,
                              const DzlShortcutChord *chord,
                              gpointer data);

dzl_shortcut_chord_table_remove ()

gboolean
dzl_shortcut_chord_table_remove (DzlShortcutChordTable *self,
                                 const DzlShortcutChord *chord);

dzl_shortcut_chord_table_remove_data ()

gboolean
dzl_shortcut_chord_table_remove_data (DzlShortcutChordTable *self,
                                      gpointer data);

dzl_shortcut_chord_table_lookup ()

DzlShortcutMatch
dzl_shortcut_chord_table_lookup (DzlShortcutChordTable *self,
                                 const DzlShortcutChord *chord,
                                 gpointer *data);

dzl_shortcut_chord_table_lookup_data ()

const DzlShortcutChord *
dzl_shortcut_chord_table_lookup_data (DzlShortcutChordTable *self,
                                      gpointer data);

dzl_shortcut_chord_table_size ()

guint
dzl_shortcut_chord_table_size (const DzlShortcutChordTable *self);

dzl_shortcut_chord_table_foreach ()

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.

Parameters

self

a DzlShortcutChordTable

 

foreach_func

A callback for each chord.

[scope call][closure foreach_data]

foreach_data

user data for foreach_func

 

dzl_shortcut_chord_table_printf ()

void
dzl_shortcut_chord_table_printf (const DzlShortcutChordTable *self);