Enlightenment CVS committal Author : ymer Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/test Modified Files: ewl_table_test.c Log Message: preliminary table code move to the new cell and row codes .. doesn't work yet so don't call me and bitch about it yet :) =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_table_test.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -3 -r1.14 -r1.15 --- ewl_table_test.c 14 Jan 2003 21:45:09 -0000 1.14 +++ ewl_table_test.c 3 Feb 2003 00:21:10 -0000 1.15 @@ -24,7 +24,8 @@ Ewl_Widget *table_win; Ewl_Widget *table_box; Ewl_Widget *table; - Ewl_Widget *button[77]; + Ewl_Widget *button[10]; + Ewl_Widget *cell; char *headers[4]; char *one = "one"; char *two = "two"; @@ -61,10 +62,14 @@ ewl_container_append_child(EWL_CONTAINER(table_box), table); ewl_widget_show(table); + + cell = (Ewl_Cell *) ewl_cell_new(); button[0] = ewl_button_new("FIRST"); - ewl_table_add(EWL_TABLE(table), button[0], 3, 4, 2, 3); + ewl_container_append_child(EWL_CONTAINER(cell), button[0]); + ewl_table_add(EWL_TABLE(table), cell, 3, 4, 2, 3); ewl_widget_show(button[0]); + ewl_widget_show(cell); /* button[1] = ewl_button_new(NULL); ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs