Help with Callback

danny_ob at my-deja.com danny_ob at my-deja.com
Thu May 11 10:22:30 EDT 2000


I have the following problem with a callback:

I am creating 'Widget A' and a callback for this widget.
In the callback I need to set a variable in 'Widget B',
...However this widget has not been created yet!
(The order of creation cant be changed)

Any help would be much appreciated !
Thanks,
Dan

def makeWidgets(self):
    self.Widget_A()
    self.Widget_B()


def Widget_A_callback(self, tag):
   ...
   ...
   self.WidgetB_field.setentry('x')


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list