[pygtk] Dialog hide method doesnt hide at the moment
Pablo Recio Quijano
rikutheronin at gmail.com
Sun Jan 31 03:36:49 WST 2010
Hi.
I have a code more or less like:
while ...: #some comprobations
# other stuffs
R = round_result.roundResult() #a dialog object
response = R.result_dialog.run()
if response == 13: #13 is the ID of button to close
R.result_dialog.destroy()
The problem is that the dialog doesn't destroy in that moment. Instead, is
destroyed in the next loops's iteration. I also tried to map a function to
the event trigged by clicking that button, using hide or destroy, but
doesn't work either.
Is there any way to hide the dialog in the moment I want to? Because I don't
understand what's happening.
Thanks in advance.
--
Pablo Recio Quijano
Estudiante de Ingeniería Informática (UCA)
Becario en Alquimia Proyectos Digitales
Alumno colaborador del Departamento de Lenguajes y Sistemas Informáticos
Participante del IV Concurso Universitario de Software Libre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20100130/f7b9f9e3/attachment.htm
More information about the pygtk
mailing list