Enlightenment CVS committal Author : rbdpngn Project : e17 Module : docs
Dir : e17/docs/ewlbook/xml/widgets Modified Files: container_widgets.xml Log Message: Spelling fix. Some tree info. =================================================================== RCS file: /cvsroot/enlightenment/e17/docs/ewlbook/xml/widgets/container_widgets.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- container_widgets.xml 3 Nov 2004 18:44:45 -0000 1.2 +++ container_widgets.xml 20 Jan 2005 18:14:56 -0000 1.3 @@ -97,8 +97,41 @@ <!-- EWL TREE --> <sect2 id="sec-EwlTree"> <title>Ewl_Tree</title> + +<para> +The tree widget allows for laying out widgets in a series of expandable rows. +When creating a tree, the number of columns can be specified, and future +changes will allow for changing the number and location of columns at runtime. +</para> + <para> + <example> + <title>Creating EWL trees</title> + <programlisting role="C"> + Ewl_Widget *tree = ewl_tree_new(number_columns); + ewl_widget_show(tree); + </programlisting> + </example> </para> + +<para> +The functions to manipulate the tree include: +<itemizedlist mark="bullet" spacing="compact"> + <listitem><para><function>void ewl_tree_headers_set(Ewl_Tree *, char **)</function></para></listitem> + <listitem><para><function>void ewl_tree_columns_set(Ewl_Tree *, unsigned short)</function></para></listitem> + <listitem><para><function>Ecore_List *ewl_tree_selected_get(Ewl_Tree *)</function></para></listitem> + <listitem><para><function>void ewl_tree_selected_clear(Ewl_Tree *)</function></para></listitem> + <listitem><para><function>Ewl_Tree_Mode ewl_tree_mode_get(Ewl_Tree *)</function></para></listitem> + <listitem><para><function>void ewl_tree_mode_set(Ewl_Tree *, Ewl_Tree_Mode)</function></para></listitem> + <listitem><para><function>void ewl_tree_row_add(Ewl_Tree *, Ewl_Row *, Ewl_Widget **)</function></para></listitem> + <listitem><para><function>void ewl_tree_text_row_add(Ewl_Tree *, Ewl_Row *, char **)</function></para></listitem> + <listitem><para><function>void ewl_tree_entry_row_add(Ewl_Tree *, Ewl_Row *, char **)</function></para></listitem> + <listitem><para><function>void ewl_tree_row_destroy(Ewl_Tree *, Ewl_Row *)</function></para></listitem> + <listitem><para><function>void ewl_tree_row_expand_set(Ewl_Row *, Ewl_Tree_Node_Flags)</function></para></listitem> + <listitem><para><function>Ewl_Row *ewl_tree_row_find(Ewl_Row *, Ewl_Tree_Node_Flags)</function></para></listitem> +</itemizedlist> +</para> + </sect2> <!-- ################################### --> ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs