Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/entry Modified Files: ewl_entry_test.c Log Message: - Pull the tutorials out of the src/bin/tests/*/*.c files and move them to doc/tutorials. This way we don't end up with any test structures showing up in the Ewl docs. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/entry/ewl_entry_test.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- ewl_entry_test.c 4 Dec 2007 05:27:59 -0000 1.1 +++ ewl_entry_test.c 26 Feb 2008 04:24:11 -0000 1.2 @@ -8,47 +8,6 @@ #include <stdio.h> #include <stdlib.h> -/** - * @addtogroup Ewl_Entry - * @section text_tut Tutorial - * - * The Ewl_Entry provides a widget for editing single line or multi-line text. - * Since the entry widget inherits from Ewl_Text, all operations that - * can be performed on text can be used on the entry, including programmatic - * control of formatting, selections and text contents. - * - * @code - * Ewl_Widget *entry; - * entry = ewl_entry_new(); - * ewl_text_text_set(EWL_TEXT(entry), "Text to display"); - * ewl_widget_show(entry); - * @endcode - * - * Almost all manipulation of the entry widget is performed through the - * Ewl_Text API, with some minor exceptions. Since the entry widget takes user - * input, it requires an API to enable or disable the editing capability. - * - * @code - * void ewl_entry_editable_set(Ewl_Entry *e, unsigned int editable); - * unsigned int ewl_entry_editable_get(Ewl_Entry *e); - * @endcode - * - * It is also important to be able to indicate if the text entry can contain - * multiple lines of text, as the reaction to the Enter/Return keys changes. - * When multiline is enabled, Enter will insert a carriage return in the text, - * otherwise it raises an EWL_CALLBACK_VALUE_CHANGED callback on the entry - * widget. - * - * @code - * void ewl_entry_multiline_set(Ewl_Entry *e, unsigned int multiline); - * unsigned int ewl_entry_multiline_get(Ewl_Entry *e); - * @endcode - * - * By inheriting from Ewl_Text, the capabalities of Ewl_Entry are expanded to - * the full API available for text manipulation. This reduces the number of - * calls for the user to learn without sacrificing functionality. - */ - static Ewl_Widget *entry[3]; static int create_test(Ewl_Container *box); ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs