Dear All, Hello.

I have attached a patch for test_hover. Please review the patch and
give any feedbacks. Thanks.

Sincerely,
Shinwoo kim.
Index: src/bin/test_hover.c
===================================================================
--- src/bin/test_hover.c	(revision 68675)
+++ src/bin/test_hover.c	(working copy)
@@ -9,6 +9,14 @@ my_hover_bt(void *data, Evas_Object *obj __UNUSED_
    evas_object_show(hv);
 }
 
+static void
+_top_bt_clicked(void *data, Evas_Object *obj __UNUSED__,
+                void *event_info __UNUSED__)
+{
+   Evas_Object *hv = (Evas_Object *)data;
+   elm_hover_dismiss(hv);
+}
+
 void
 test_hover(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
 {
@@ -55,6 +63,7 @@ test_hover(void *data __UNUSED__, Evas_Object *obj
 
    bt = elm_button_add(win);
    elm_object_text_set(bt, "Top 1");
+   evas_object_smart_callback_add(bt, "clicked", _top_bt_clicked, hv);
    elm_box_pack_end(bx, bt);
    evas_object_show(bt);
    bt = elm_button_add(win);
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to