[pygtk] Problem communicating two class
Alexandre González
alex at rianxosencabos.com
Fri May 29 23:23:50 WST 2009
Hi! Perhaps this could be a stupid question, but I'm trying to do it and I
can't.
I did a skeleton of a pygtk application to learn about use it, but i have a
problem... I create a parent class [1] to procedure the events (it create
the events connections with instrospection and it works very well ;) but I
load the glade file here, and the events handlers are in the child class
[2]. So when I click on the about button in the application, I can't show
the about dialog loaded at parent class because I can't access it.
I tried with super but it doesn't work, and I tried to send from parent to
child the parent object doing this on the parent code: child = Child(self)
but it doesn't work too.
Any suggestion?
Thanks!
Álex González
[1] http://pastebin.com/f4636edb4
[2] http://pastebin.com/f6d40e579
--
Please, don't send me files with extensions: .doc, .docx, .xls, .xlsx, .ppt
and/or .pptx
http://mirblu.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20090529/d117207e/attachment.htm
More information about the pygtk
mailing list