Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/tooltip Modified Files: ewl_tooltip.c Log Message: add a second button =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/tooltip/ewl_tooltip.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- ewl_tooltip.c 29 Nov 2007 03:50:43 -0000 1.5 +++ ewl_tooltip.c 30 Nov 2007 23:30:03 -0000 1.6 @@ -29,6 +29,13 @@ ewl_object_fill_policy_set(EWL_OBJECT(button), EWL_FLAG_FILL_SHRINK); ewl_attach_tooltip_text_set(button, "and see."); ewl_widget_show(button); + + button = ewl_button_new(); + ewl_button_label_set(EWL_BUTTON(button), "Hover on this button"); + ewl_container_child_append(EWL_CONTAINER(box), button); + ewl_object_fill_policy_set(EWL_OBJECT(button), EWL_FLAG_FILL_SHRINK); + ewl_attach_tooltip_text_set(button, "and see more."); + ewl_widget_show(button); return 1; } ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs