Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin Modified Files: ewl_dialog_test.c Log Message: - add a tooltip test inside the dialog =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_dialog_test.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- ewl_dialog_test.c 10 Oct 2005 15:27:10 -0000 1.6 +++ ewl_dialog_test.c 6 Dec 2005 00:14:34 -0000 1.7 @@ -116,6 +116,12 @@ ewl_container_child_append(EWL_CONTAINER (hbox), label); ewl_widget_show(label); + button = ewl_button_new(); + ewl_container_child_append(EWL_CONTAINER(hbox), button); + ewl_button_label_set(EWL_BUTTON(button), "tooltip"); + ewl_attach_tooltip_text_set(button, "This is a tooltip"); + ewl_widget_show(button); + ewl_dialog_active_area_set(EWL_DIALOG(dialog_win), EWL_POSITION_BOTTOM); button = ewl_button_new(); @@ -132,6 +138,8 @@ __create_window_response, NULL); ewl_widget_show(button); + ewl_dialog_active_area_set(EWL_DIALOG(dialog_win), EWL_POSITION_TOP); + ewl_widget_show(dialog_win); } ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs