wxPython GenericDirCtrl events

Franz Steinhaeusler franz.steinhaeusler at gmx.at
Wed Mar 8 07:36:37 EST 2006


On 8 Mar 2006 04:25:38 -0800, "Iain King" <iainking at gmail.com> wrote:
>
>at the end  TestPanel.__init__ I added:
>
>self.Bind(wx.EVT_TREE_SEL_CHANGED, self.test, dir1)
>{...]

Try this instead:

t = dir1.GetTreeCtrl()
t.Bind(wx.EVT_TREE_SEL_CHANGED, self.test)


-- 
Franz Steinhaeusler



More information about the Python-list mailing list