Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/button Modified Files: ewl_button.c Log Message: More branch support code for tree2. Additional checks on focus change in the embed. Framework for button tutorial. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/button/ewl_button.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- ewl_button.c 4 Jan 2007 05:09:39 -0000 1.3 +++ ewl_button.c 5 Jan 2007 21:07:49 -0000 1.4 @@ -3,6 +3,23 @@ #include "ewl_test_private.h" #include <stdio.h> +/** + * @addtogroup Ewl_Button + * @section text_tut Tutorial + * + * The Ewl_Button includes an icon and label by default but is actually a full + * container that can hold any type of non-toplevel widget. Because of this + * flexibility many other widget types inherit from the button. + * + * @code + * Ewl_Widget *button; + * button = ewl_button_new(); + * ewl_button_label_set(EWL_BUTTON(button), "Button label"); + * ewl_widget_show(button); + * @endcode + * + */ + static int create_test(Ewl_Container *win); void ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs