/* Signals table */ static gint handle_action_activated_signal(GtkEntryCompletion * completion, gint index, C_signal * cs) { OBJECTPREPARECV(cs, cv); _clip_mputn(cs->co->cmachine, &cv, HASH_INDEX, index); OBJECTINVOKESIGHANDLER(cs, cv); }
static gint handle_changed_signal(GtkAccelMap * map, gchar * path, guint key, GdkModifierType type, C_signal * cs) { OBJECTPREPARECV(cs, cv); _clip_mputc(cs->co->cmachine, &cv, HASH_ACCEL_PATH, path, strlen(path)); _clip_mputn(cs->co->cmachine, &cv, HASH_ACCEL_KEY, key); _clip_mputn(cs->co->cmachine, &cv, HASH_ACCEL_MODS, (int) type); OBJECTINVOKESIGHANDLER(cs, cv); }
static gint handle_activate_signal(GtkUIManager * manager, GtkAction * action, C_signal * cs) { C_object *cact; OBJECTPREPARECV(cs, cv); cact = _list_get_cobject(cs->co->cmachine, action); if (!cact) cact = _register_object(cs->co->cmachine, action, GTK_TYPE_ACTION, NULL, NULL); if (cact) _clip_madd(cs->co->cmachine, &cv, HASH_ACTION, &cact->obj); OBJECTINVOKESIGHANDLER(cs, cv); }
static gint handle_add_widget_signal(GtkUIManager * manager, GtkWidget * wid, C_signal * cs) { C_widget *cwid; OBJECTPREPARECV(cs, cv); cwid = _list_get_cwidget(cs->co->cmachine, wid); if (!cwid) cwid = _register_widget(cs->co->cmachine, wid, NULL); if (cwid) _clip_madd(cs->co->cmachine, &cv, HASH_WIDGET, &cwid->obj); OBJECTINVOKESIGHANDLER(cs, cv); }
static gint handle_activate_signal(GtkActionGroup * actiongr, GtkAction * action, C_signal * cs) { C_object *caction; OBJECTPREPARECV(cs, cv); caction = _list_get_cobject(cs->cw->cmachine, action); if (!caction) caction = _register_object(cs->cw->cmachine, action, GTK_TYPE_ACTION, NULL, NULL); _clip_madd(cs->cw->cmachine, &cv, HASH_ACTION, &caction->obj); OBJECTINVOKESIGHANDLER(cs, cv); }
static gint handle_match_selected_signal(GtkEntryCompletion * completion, GtkTreeModel * model, GtkTreeIter * iter, C_signal * cs) { C_object *cmodell, *citer; OBJECTPREPARECV(cs, cv); cmodell = _list_get_cobject(cs->co->cmachine, model); if (!cmodell) cmodell = _register_object(cs->co->cmachine, model, GTK_TYPE_TREE_MODEL, NULL, NULL); _clip_madd(cs->co->cmachine, &cv, HASH_TREEMODEL, &cmodell->obj); citer = _list_get_cobject(cs->co->cmachine, iter); if (!citer) citer = _register_object(cs->co->cmachine, iter, GTK_TYPE_TREE_ITER, NULL, NULL); _clip_madd(cs->co->cmachine, &cv, HASH_TREEITER, &citer->obj); OBJECTINVOKESIGHANDLER(cs, cv); }
/* Signals table */ static gint handle_proxy_signal(GtkActionGroup * actiongr, GtkAction * action, GtkWidget * wid, C_signal * cs) { C_object *caction; C_widget *cwid; OBJECTPREPARECV(cs, cv); caction = _list_get_cobject(cs->cw->cmachine, action); if (!caction) caction = _register_object(cs->cw->cmachine, action, GTK_TYPE_ACTION, NULL, NULL); _clip_madd(cs->cw->cmachine, &cv, HASH_ACTION, &caction->obj); cwid = _list_get_cwidget(cs->cw->cmachine, wid); if (!cwid) cwid = _register_widget(cs->cw->cmachine, wid, NULL); _clip_madd(cs->cw->cmachine, &cv, HASH_PROXY, &cwid->obj); OBJECTINVOKESIGHANDLER(cs, cv); }
static gint handle_proxy_signal(GtkUIManager * manager, GtkAction * action, GtkWidget * wid, C_signal * cs) { C_object *cact; C_widget *cwid; OBJECTPREPARECV(cs, cv); cact = _list_get_cobject(cs->co->cmachine, action); if (!cact) cact = _register_object(cs->co->cmachine, action, GTK_TYPE_ACTION, NULL, NULL); if (cact) _clip_madd(cs->co->cmachine, &cv, HASH_ACTION, &cact->obj); cwid = _list_get_cwidget(cs->co->cmachine, wid); if (!cwid) cwid = _register_widget(cs->co->cmachine, wid, NULL); if (cwid) _clip_madd(cs->co->cmachine, &cv, HASH_WIDGET, &cwid->obj); OBJECTINVOKESIGHANDLER(cs, cv); }
/* Signals table */ static gint handler_signal(GtkFileChooser * filech, C_signal * cs) { OBJECTPREPARECV(cs, cv); OBJECTINVOKESIGHANDLER(cs, cv); }
/* Signals table */ static gint handle_toggled_signal(GtkToggleAction *action, C_signal *cs) { OBJECTPREPARECV(cs,cv); OBJECTINVOKESIGHANDLER(cs,cv); }
/* Signals table */ static gint handle_actions_changed_signal(GtkUIManager * manager, C_signal * cs) { OBJECTPREPARECV(cs, cv); OBJECTINVOKESIGHANDLER(cs, cv); }
/* Signals table */ static gint handle_changed_signal(GtkIconTheme *icon, C_signal *cs) { OBJECTPREPARECV(cs,cv); OBJECTINVOKESIGHANDLER(cs,cv); }
/* Signal handlers */ gint handle_destroy_signal (GtkObject *obj, C_signal *cs) { OBJECTPREPARECV(cs,cv); OBJECTINVOKESIGHANDLER(cs,cv); }