Functions
dzl_shortcut_context_new ()
DzlShortcutContext *
dzl_shortcut_context_new (const gchar *name
);
dzl_shortcut_context_get_name ()
const gchar *
dzl_shortcut_context_get_name (DzlShortcutContext *self
);
dzl_shortcut_context_add_action ()
void
dzl_shortcut_context_add_action (DzlShortcutContext *self
,
const gchar *accel
,
const gchar *detailed_action_name
);
dzl_shortcut_context_add_command ()
void
dzl_shortcut_context_add_command (DzlShortcutContext *self
,
const gchar *accel
,
const gchar *command
);
dzl_shortcut_context_add_signal ()
void
dzl_shortcut_context_add_signal (DzlShortcutContext *self
,
const gchar *accel
,
const gchar *signal_name
,
guint n_args
,
...
);
dzl_shortcut_context_add_signal_va_list ()
void
dzl_shortcut_context_add_signal_va_list
(DzlShortcutContext *self
,
const gchar *accel
,
const gchar *signal_name
,
guint n_args
,
va_list args
);
dzl_shortcut_context_add_signalv ()
void
dzl_shortcut_context_add_signalv (DzlShortcutContext *self
,
const gchar *accel
,
const gchar *signal_name
,
GArray *values
);
This is similar to dzl_shortcut_context_add_signal()
but is easier to use
from language bindings.
dzl_shortcut_context_remove ()
gboolean
dzl_shortcut_context_remove (DzlShortcutContext *self
,
const gchar *accel
);
dzl_shortcut_context_load_from_data ()
gboolean
dzl_shortcut_context_load_from_data (DzlShortcutContext *self
,
const gchar *data
,
gssize len
,
GError **error
);
dzl_shortcut_context_load_from_resource ()
gboolean
dzl_shortcut_context_load_from_resource
(DzlShortcutContext *self
,
const gchar *resource_path
,
GError **error
);