hi,everyone .
I have a problem, just want to kown how to bind a event to a treectrl.
thanks for your help.
hi,everyone .
I have a problem, just want to kown how to bind a event to a treectrl.
thanks for your help.
Hi,
hi,everyone .
I have a problem, just want to kown how to bind a event to a treectrl.thanks for your help.
You bind the event the same way you do with any other widget. These
are the two most well known:
self.Bind(wx.SomeEvent, self.onEvent, self.myTreeCtrl)
myTreeCtrl.Bind(wx.SomeEvent, self.onEvent)
For more info, see the wiki:
http://wiki.wxpython.org/self.Bind%20vs.%20self.button.Bind
- Mike
On Jul 17, 2:11 am, Julia <youyicun2...@gmail.com> wrote: