From: <enl...@li...> - 2006-02-19 15:58:59
|
Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl Dir : e17/libs/ewl/src/bin Modified Files: ewl_entry_test.c Log Message: - add a disabled entry test =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_entry_test.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- ewl_entry_test.c 30 Nov 2005 15:29:05 -0000 1.8 +++ ewl_entry_test.c 19 Feb 2006 15:58:48 -0000 1.9 @@ -105,6 +105,13 @@ ewl_container_child_append(EWL_CONTAINER(entry_box), entry[2]); ewl_widget_show(entry[2]); + o = ewl_entry_new(); + ewl_text_text_set(EWL_TEXT(o), "disabled"); + ewl_object_padding_set(EWL_OBJECT(o), 5, 5, 0, 0); + ewl_container_child_append(EWL_CONTAINER(entry_box), o); + ewl_widget_disable(o); + ewl_widget_show(o); + button_hbox = ewl_hbox_new(); ewl_object_alignment_set(EWL_OBJECT(button_hbox), EWL_FLAG_ALIGN_CENTER); ewl_container_child_append(EWL_CONTAINER(entry_box), button_hbox); |