action: SIGNAL_EMIT "elm,action,click" "elm";
}
program { name: "toggle";
- signal: "elm,action,collapse";
+ signal: "elm,action,toggle";
source: "elm";
script {
new st[31];
if (!wd->collapsible) return;
// printf("recalc begin %3.3f\n", ecore_loop_time_get());
evas_object_smart_callback_add(wd->frm, "recalc", _recalc, data);
- edje_object_signal_emit(wd->frm, "elm,action,collapse", "elm");
+ edje_object_signal_emit(wd->frm, "elm,action,toggle", "elm");
wd->collapsed++;
wd->anim = EINA_TRUE;
}
if (!wd) return;
enable = !!enable;
if (wd->collapsed == enable) return;
- edje_object_signal_emit(wd->frm, "elm,action,collapse", "elm");
+ edje_object_signal_emit(wd->frm, "elm,action,toggle", "elm");
evas_object_smart_callback_add(wd->frm, "recalc", (Evas_Smart_Cb)_recalc, obj);
wd->collapsed = enable;
wd->anim = EINA_TRUE;