Hi, ALL,
Does anybody use wx.TreeListCtrl on 3.0.0 classic?
There are 2 function pairs: SelectItem(self, item) - which should
select item/SelectAll(self) - which should select all items and
Unselect(self)/UnselectAll() - which should unselect either item or
all items.
However Unselect(self) misses second parameter - item to be unselected.
Does anybody knows how I can unselect the item?
Thank you.
It looks like TreeListCtrl uses the wxWidgets C++ TreeListCtrl, which uses the wxWidgets DataViewCtrl… and according to its documentation, Unselect takes an item… so try passing an item just like you did to Select and let us know!
virtual void
Unselect (const wxDataViewItem &item)
Unselect the given item.
http://docs.wxwidgets.org/stable/classwx_data_view_ctrl.html#a8b5df79c5f0a80981da47b92b7e565ff
···
On Monday, June 2, 2014 3:48:40 AM UTC-7, Igor Korot wrote:
Hi, ALL,
Does anybody use wx.TreeListCtrl on 3.0.0 classic?
There are 2 function pairs: SelectItem(self, item) - which should
select item/SelectAll(self) - which should select all items and
Unselect(self)/UnselectAll() - which should unselect either item or
all items.
However Unselect(self) misses second parameter - item to be unselected.
Does anybody knows how I can unselect the item?
Thank you.