Ricardo Aráoz wrote: > Hi, > been reading the wiki on dTreeView > (http://dabodev.com/wiki/DTreeView) and is pretty clear save that I > found no code examples (and I usually need them). > What I'm trying to do is re-code an app so as to be able to present the > main menu as a menu or a dTreeView. The menu is ok, but I couldn't find > an onHit() method for dNode. Should I use bindEvent()? And could some > charitable soul give an example? Just a couple of nodes bound to a > couple of functions. > Thanks a lot. > > Ricardo. > > P.S.: I couldn't find dNode (I thought it would be under dabo.ui.dNode, > but no luck) where is it referenced in the framework?
Take at look at dabo/dabo/ui/uiwx/dTreeView.py, the sample code at the end. Run it to see the sample code in action. We've tried to provide get-you-going functional samples at the bottom of all the ui classes. See them all in action by typing: python test.py from within the uiwx directory. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
