veto selection event in a DataViewTreeCtrl

Christian K <[email protected]>
Newsgroups gmane.comp.python.wxpython
Message-ID <[email protected]>
 Hi,

it looks like it is not possible to veto the selection of a 
DataViewTreeCtrl with dtyle DV_MULTIPLE. I would like to be able to limit 
the selection to the childs of a node, which themselves may have childs, so 
that is not possible to select elements of distinct levels of the tree. The 
wx.TreeCtrl emits two events, one when the selection is about to change and 
the other when the selection has changed. The first one can be veted in 
order to achieve what I need. Is that possible with a DataViewCtrl somehow 
as well?

Thanks, Christian  

-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/d4ebb499-1bb8-46ed-9c74-cf6f4fcf87f9%40googlegroups.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.