Bind then cound not be deleted

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Bind then cound not be deleted

I make a custom window, It has a slider and a textctrl. I want to make the window like other ctrl. So I add GetValue, SetValue method in. And I add a Bind method, then it is like other ctrl. That is the problem.

I wrote the bind method like this:

def Bind(event, function):
    self.function = function

then I Bind and pass a parent ctrl's method in. But I found both child and parent ctrl cound not be deleted.
I think it is for I make a loop ref. How wxpython's system ctrl implement the bind?


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 [hidden email].
For more options, visit