| Top |
DzlShortcutClosureChain * dzl_shortcut_closure_chain_append (DzlShortcutClosureChain *chain,DzlShortcutClosureChain *link);
DzlShortcutClosureChain * dzl_shortcut_closure_chain_append_signal (DzlShortcutClosureChain *chain,const gchar *signal_name,guint n_args,va_list args);
DzlShortcutClosureChain * dzl_shortcut_closure_chain_append_signalv (DzlShortcutClosureChain *chain,const gchar *signal_name,GArray *params);
DzlShortcutClosureChain * dzl_shortcut_closure_chain_append_action (DzlShortcutClosureChain *chain,const gchar *group_name,const gchar *action_name,GVariant *params);
DzlShortcutClosureChain * dzl_shortcut_closure_chain_append_action_string (DzlShortcutClosureChain *chain,const gchar *detailed_action_name);
DzlShortcutClosureChain * dzl_shortcut_closure_chain_append_command (DzlShortcutClosureChain *chain,const gchar *command);
DzlShortcutClosureChain * dzl_shortcut_closure_chain_append_callback (DzlShortcutClosureChain *chain,GtkCallback callback,gpointer user_data,GDestroyNotify notify);
gboolean dzl_shortcut_closure_chain_execute (DzlShortcutClosureChain *chain,GtkWidget *widget);
void
dzl_shortcut_closure_chain_free (DzlShortcutClosureChain *chain);
typedef struct {
GSList node;
DzlShortcutClosureType type : 3;
DzlShortcutPhase phase : 3;
guint executing : 1;
union {
struct {
const gchar *group;
const gchar *name;
GVariant *params;
} action;
struct {
const gchar *name;
} command;
struct {
GQuark detail;
const gchar *name;
GArray *params;
} signal;
struct {
GtkCallback callback;
gpointer user_data;
GDestroyNotify notify;
} callback;
};
} DzlShortcutClosureChain;