Ed Leafe wrote: > On Sep 4, 2008, at 6:12 PM, Paul McNett wrote: > >> The reason, as far as I can tell, that dNode isn't in the auto- >> generated >> api docs is simply that it isn't imported in __init__.py. >> >> I was going to add the import, but I don't like the name. Any >> objections >> to renaming it 'dTreeNode'? > > There are 3 internal classes that are not imported because they are > not meant to exist separately: dNode (dTreeView), _dDockPanel > (dDockForm) and _dRadioButton (dRadioList). They are all exposed via > the getBase* methods of the main control class, and are created/ > destroyed via main control methods. > > I would have no objection to adding 'Tree' to the name, but a) it > should not be imported into __init__.py, and b) it should probably be > prefixed with an underscore for consistency's sake.
So there's no use-case for creating a set of dNodes and adding them to a tree? Like with dColumn/dGrid? To date I've only ever made one tree control, so I'm probably a bit naive. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
