summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_ui_active_view.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/elementary/test_ui_active_view.c')
-rw-r--r--src/bin/elementary/test_ui_active_view.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/bin/elementary/test_ui_active_view.c b/src/bin/elementary/test_ui_active_view.c
index 8f0d21febb..e59bc8cb86 100644
--- a/src/bin/elementary/test_ui_active_view.c
+++ b/src/bin/elementary/test_ui_active_view.c
@@ -58,6 +58,12 @@ typedef struct _Size_Params
58 58
59#define PAGE_NUM 3 59#define PAGE_NUM 3
60 60
61static void
62_cb(void *data, Evas_Object *obj, Evas *e, void *event_info)
63{
64 printf("asdfasdfasdf clicked\n");
65}
66
61static Eo * 67static Eo *
62view_add(View_Type p, Eo *parent) 68view_add(View_Type p, Eo *parent)
63{ 69{
@@ -93,8 +99,10 @@ view_add(View_Type p, Eo *parent)
93 break; 99 break;
94 100
95 case BUTTON: 101 case BUTTON:
96 page = efl_add(EFL_UI_BUTTON_CLASS, parent, 102 //page = efl_add(EFL_UI_BUTTON_CLASS, parent,
97 efl_text_set(efl_added, "Button Page")); 103 // efl_text_set(efl_added, "Button Page"));
104 page = elm_button_add(parent);
105 evas_object_smart_callback_add(page, "clicked", _cb, NULL);
98 efl_gfx_hint_fill_set(page, EINA_TRUE, EINA_TRUE); 106 efl_gfx_hint_fill_set(page, EINA_TRUE, EINA_TRUE);
99 break; 107 break;
100 108