Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/test
Modified Files:
ewl_filedialog_test.c
Log Message:
Programmers can now add widgets to the filedialog in the area left of the file
selection. Use ewl_container_append_child(EWL_CONTAINER(filedialog), button);
There is an example in ewl_test.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_filedialog_test.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- ewl_filedialog_test.c 30 Jan 2004 02:33:34 -0000 1.16
+++ ewl_filedialog_test.c 2 Feb 2004 05:43:02 -0000 1.17
@@ -74,10 +74,16 @@
static Ewl_Widget *fd = NULL;
if (!fd) {
+ Ewl_Widget *home_button;
+
fd = ewl_filedialog_new(EWL_FILEDIALOG_TYPE_OPEN, __open_file,
NULL);
ewl_container_append_child(EWL_CONTAINER(vbox), fd);
+
+ home_button = ewl_button_new("Home");
+ ewl_container_append_child(EWL_CONTAINER(fd), home_button);
+ ewl_widget_show(home_button);
}
ewl_widget_show(fd);
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs