Thanks to you all for these answers. I'll try these ideas and post back
comments and results.
--
http://mail.python.org/mailman/listinfo/python-list
cantabile wrote in news:[EMAIL PROTECTED] in
comp.lang.python:
> Hi,
>
> I have a class (a gui) with buttons and other controls. A button, for
> example, has a callback method, so that writing
>
> b = Button(label, OnClick)
>
> will call the global OnClick method.
>
> Now, if I want the
cantabile wrote:
> Hi,
>
> I have a class (a gui) with buttons and other controls. A button, for
> example, has a callback method, so that writing
>
> b = Button(label, OnClick)
>
> will call the global OnClick method.
>
> Now, if I want the OnClick method to call some of my main class met
Hi,
I have a class (a gui) with buttons and other controls. A button, for
example, has a callback method, so that writing
b = Button(label, OnClick)
will call the global OnClick method.
Now, if I want the OnClick method to call some of my main class methods,
I need to write:
UI = No