I have detected a bug in the new (and very useful) wxTreeListCtrl.
From the release note (2.4.1.2) wxTreeListCtrl is basically a wxTreeCtrl, so
I would expect to be able to navigate the tree structure in the same way as
a wxTreeCtrl. A very usful navigation feature is to use the left and right
arrows to collapse and expand branches. This works out of the box for
wxTreeCtrl but only the right arrow (expand) works for wxTreeListCtrl. The
left arrow does not collapse the branch.
I hope that wxTreeListCtrl will be syncronised with wxTreeCtrl in this
respect since this is a very powerfull and common navigation technique for
tree structures.
The wxPython demo demonstrates the differences.
(opps.. I'm using win2k/XP-pro, python2.2.2, wxPython2.4.1.2)
Best regards,
Jens B. Helmers
Oslo/Norway
···
**********************************************************************
Neither the confidentiality nor the integrity of this message
can be guaranteed following transmission on the Internet.
This message has been swept by MAILsweeper at DNV for
the presence of computer viruses.
**********************************************************************
I have detected a bug in the new (and very useful) wxTreeListCtrl.
From the release note (2.4.1.2) wxTreeListCtrl is basically a wxTreeCtrl, so
I would expect to be able to navigate the tree structure in the same way as
a wxTreeCtrl. A very usful navigation feature is to use the left and right
arrows to collapse and expand branches. This works out of the box for
wxTreeCtrl but only the right arrow (expand) works for wxTreeListCtrl. The
left arrow does not collapse the branch.
I hope that wxTreeListCtrl will be syncronised with wxTreeCtrl in this
respect since this is a very powerfull and common navigation technique for
tree structures.
The wxPython demo demonstrates the differences.
(opps.. I'm using win2k/XP-pro, python2.2.2, wxPython2.4.1.2)
Well, actually it behaves exactly like wxGenericTreeCtrl (i.e. the
wxTreeCtrl used on non-windows platforms): it uses "+" and "-" to
expand/collapse items, and arrow keys to move to/from parent/child.
Anyway, if the default behaviour on windows is different, probably you're
right it should be mimicked. I'll try to do it and send a patch to Robin
ASAP.
Please enter a bug report about it (category wxPython specific) so it doesn't get lost.
···
Jens.Bloch.Helmers@dnv.com wrote:
I have detected a bug in the new (and very useful) wxTreeListCtrl.
From the release note (2.4.1.2) wxTreeListCtrl is basically a wxTreeCtrl, so
I would expect to be able to navigate the tree structure in the same way as
a wxTreeCtrl. A very usful navigation feature is to use the left and right
arrows to collapse and expand branches. This works out of the box for
wxTreeCtrl but only the right arrow (expand) works for wxTreeListCtrl. The
left arrow does not collapse the branch.
I hope that wxTreeListCtrl will be syncronised with wxTreeCtrl in this
respect since this is a very powerfull and common navigation technique for
tree structures.
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
Well, actually it behaves exactly like wxGenericTreeCtrl (i.e. the
wxTreeCtrl used on non-windows platforms): it uses "+" and "-" to
expand/collapse items, and arrow keys to move to/from parent/child.
Anyway, if the default behaviour on windows is different, probably you're
right it should be mimicked. I'll try to do it and send a patch to Robin
ASAP.
Thanks!
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!