Tree widget upgrade ideas

Michael Flanagan <[email protected]> Thu, 29 Jan 2004 14:58:35 -0800
Newsgroups gmane.comp.windows.devel.netwindows
Message-ID <[email protected]>
Couple of ideas I've had while playing with this new tree widget:

1) Type / image system
- Ability to specify a default type for all leaf nodes in a specific 
branch
- Ability to over-ride the default at the leaf node level
- Have the branch be intelligent enough to figure out the type of a 
leaf node when dealing with dynamically loaded branches

Just to clarify here the purpose of this system is to register 
different images with different types of nodes so that it will 
automatically assign the proper image to each type of node.

2) Extended expand / collapse feature
- Ability to fully expand all child branches within a given branch node
- Ability to fully collapse all child branches within a given branch 
node

The idea here is that you can fully expand and collapse all branches 
which are the children of a given node. My idea is to put an image at 
the end of line which is the name of the branch. This image would act 
as a button which would have two states. One would  be a fully expanded 
state, and the other a fully closed state. This behavior would be 
optional to the tree widget. If you wanted to use it, you would have to 
specify it in the widgets constructor.

That's all I can think of for now.

Michael


_______________________________________________
The netWindows developers list: [email protected]
http://netwindows.org/mailman/listinfo/devel_netwindows.org