[Sugar-devel] TreeView in Sugar

Walther Neuper neuper at ist.tugraz.at
Thu Nov 5 08:12:11 EST 2009


Hi,

working on a "ReckonPrimer"-activity we face a design issue, which seems 
to be related to Sugars principles on GUI design, and we ask for your 
opinion and your help.

# Sugar establishes the Journal as primary means to retrieve activities 
and related data, thus replacing filebrowsers for good reasons.
# In the activity under construction we have a collection of 10 - 100 
units (called exercises) with the following properties:
   * each unit needs a line/row for representation (with several 
parts/columns)
   * the units can be grouped by the user (groups recursively nested)
   * child rows of a group can be collapsed and expanded

Now two questions:
(1) The properties mentioned above suggest to represent a collection as 
a kind of a filebrowser --- would this be in line with Sugars general 
design principles ?
(2) If yes for (1), do we have to implement a TreeView from scratch 
(p.214 ff in http://www.pygtk.org/pygtk2tutorial/index.html) --- or is 
there already something similar available in Sugar, in some activity ?

Any suggestion, opinion, help is highly appreciated !

Walther

-- 
------------------------------------------------------------------------
Walther Neuper                          Mailto: neuper at ist.tugraz.at
Institute for Software Technology          Tel: +43-(0)316/873-5728
University of Technology                   Fax: +43-(0)316/873-5706
Graz, Austria                             Home: www.ist.tugraz.at/neuper
------------------------------------------------------------------------



More information about the Sugar-devel mailing list