Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/test
Modified Files:
ewl_entry_test.c
Log Message:
More widget docs. Catch Enter and Return keys for the entry and signal value
change when they occur.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_entry_test.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- ewl_entry_test.c 4 Jun 2003 01:46:44 -0000 1.15
+++ ewl_entry_test.c 3 Sep 2003 21:33:35 -0000 1.16
@@ -79,11 +79,15 @@
entry[0] = ewl_entry_new("Play with me ?");
ewl_object_set_padding(EWL_OBJECT(entry[0]), 5, 5, 5, 0);
ewl_container_append_child(EWL_CONTAINER(entry_box), entry[0]);
+ ewl_callback_append(entry[0], EWL_CALLBACK_VALUE_CHANGED,
+ __fetch_entry_text, NULL);
ewl_widget_show(entry[0]);
entry[1] = ewl_entry_new("E W L ! ! !");
ewl_object_set_padding(EWL_OBJECT(entry[1]), 5, 5, 0, 0);
ewl_container_append_child(EWL_CONTAINER(entry_box), entry[1]);
+ ewl_callback_append(entry[1], EWL_CALLBACK_VALUE_CHANGED,
+ __fetch_entry_text, NULL);
ewl_widget_show(entry[1]);
button_hbox = ewl_hbox_new();
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs