Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/test


Modified Files:
        ewl_embed_test.c 


Log Message:
Some fixes for event dispatching for the embed.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_embed_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_embed_test.c    5 May 2004 18:34:48 -0000       1.2
+++ ewl_embed_test.c    6 May 2004 15:43:11 -0000       1.3
@@ -2,6 +2,11 @@
 #include <Ecore_Evas.h>
 #include <Ewl.h>
 
+void print_cb(Ewl_Widget *w, void *ev_data, void *user_data)
+{
+       printf("jack shit\n");
+}
+
 void move_embed_contents_cb(Ewl_Widget *w, void *ev_data, void *user_data)
 {
        ewl_object_request_geometry(EWL_OBJECT(user_data), CURRENT_X(w),
@@ -32,6 +37,7 @@
 
        button = ewl_button_new("This button does jack shit");
        ewl_container_append_child(EWL_CONTAINER(embed), button);
+       ewl_callback_append(button, EWL_CALLBACK_CLICKED, print_cb, button);
        ewl_widget_show(button);
 
        ewl_callback_append(embed, EWL_CALLBACK_CONFIGURE,




-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to