Enlightenment CVS committal Author : rbdpngn Project : e17 Module : libs/ewl
Dir : e17/libs/ewl Modified Files: TODO Log Message: Remove the proposed tree API, that was an old example and does not match the new approach proposed. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/TODO,v retrieving revision 1.27 retrieving revision 1.28 diff -u -3 -r1.27 -r1.28 --- TODO 6 Oct 2005 07:28:50 -0000 1.27 +++ TODO 6 Oct 2005 13:52:01 -0000 1.28 @@ -63,42 +63,3 @@ bottom of the scrollarea and you expand a row, the text shoudln't shift up. The scrollpane should be adjusted so the line you expanded stays where it is and everything shifts down. - - Proposed API example: - - tree = ewl_tree_new(2); - - node = ewl_tree_node_new(); - ewl_container_child_append(tree, node); - - row = ewl_row_new(); - ewl_container_child_append(node, row); - - text = ewl_text_new("Row 1 Column 1"); - ewl_container_child_append(row, text); - - text = ewl_text_new("Row 1 Column 2"); - ewl_container_child_append(row, text); - - childnode = ewl_tree_node_new(); - ewl_container_child_append(node, childnode); - - row = ewl_row_new(); - ewl_container_child_append(childnode, row); - - text = ewl_text_new("Row 2 Column 1"); - ewl_container_child_append(row, text); - - text = ewl_text_new("Row 2 Column 2"); - ewl_container_child_append(row, text); - - This would result in a tree like: - - + | Row 1 Column 1 | Row 1 Column 2 | - |-> | Row 2 Column 1 | Row 2 Column 2 | - - The tree would only need nodes to create inset points in the tree for - branching. If there's no branching necessary, a long list of row's would - be sufficient. A common complaint now is traversing the rows and columns of - the tree. My preference would be to add the functionality at the generic - container level. This task could apply to other widgets like the table or a - custom widget. ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs