Oops, we need to actually send the signal
This commit is contained in:
parent
65545b4762
commit
01c750c028
@ -307,6 +307,13 @@ group {
|
|||||||
transition: DECELERATE 0.2;
|
transition: DECELERATE 0.2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
program {
|
||||||
|
name: "click_emit";
|
||||||
|
signal: "mouse,clicked,1";
|
||||||
|
source: "*";
|
||||||
|
action: SIGNAL_EMIT "clicked" "ecdb";
|
||||||
|
}
|
||||||
|
|
||||||
program {
|
program {
|
||||||
name: "focus_out";
|
name: "focus_out";
|
||||||
signal: "ecdb,focus,out";
|
signal: "ecdb,focus,out";
|
||||||
|
@ -37,7 +37,7 @@ ecdb_button_add(Evas_Object *parent, const char *name)
|
|||||||
|
|
||||||
b = ecdb_widget_add(parent, name);
|
b = ecdb_widget_add(parent, name);
|
||||||
edje_object_file_set(b, em->theme_path, "ecdb/button");
|
edje_object_file_set(b, em->theme_path, "ecdb/button");
|
||||||
edje_object_signal_callback_add(b, "ecdb,button,clicked", "ecdb",
|
edje_object_signal_callback_add(b, "clicked", "ecdb",
|
||||||
_button_click_cb_call, b);
|
_button_click_cb_call, b);
|
||||||
|
|
||||||
return b;
|
return b;
|
||||||
@ -375,7 +375,7 @@ _combo_hide(void *data, Evas *e, Evas_Object *obj, void *event_info)
|
|||||||
static void
|
static void
|
||||||
_combo_clicked(void *data, Evas_Object *obj, void *event_info)
|
_combo_clicked(void *data, Evas_Object *obj, void *event_info)
|
||||||
{
|
{
|
||||||
printf("object clicked...");
|
printf("object clicked...\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user