There is also a small bug in expandAll and collapseAll when you have a
hidden root node. I just added a line in each:
def expandAll(self):
for n in self.nodes:
if n.itemID == self.GetRootItem() and not
self.ShowRootNode: continue
self.expand(n)
def collapseAll(self):
for n in self.nodes:
if n.itemID == self.GetRootItem() and not
self.ShowRootNode: continue
self.collapse(n)
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Simen Haugen
Sent: 6. juli 2006 11:44
To: [email protected]
Subject: [dabo-users] dTreeView - ShowButtons not working
Hi.
The ShowButtons property should set the '+/-' marker in front of the
items with children, but doesn't. I looked at the code, but couldn't
find anything wrong. Any idea what might be wrong? I'm just porting a
regular wx.TreeCtrl to dTreeView.
-Simen
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users