I love you man.

Thanks a lot, it works perfectly :D

2010/1/31 Pietro Battiston <too...@email.it>

> Il giorno sab, 30/01/2010 alle 23.07 +0100, Pablo Recio Quijano ha
> scritto:
> >
> >
> > 2010/1/30 Pietro Battiston <too...@email.it>
> >         Il giorno sab, 30/01/2010 alle 20.36 +0100, Pablo Recio
> >         Quijano ha
> >         scritto:
> >         > 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()
> >
> >
> >         Could you try adding the line
> >                   gtk.main_iteration(False)
> >         at the end?
> >
> >
> > It doesn't work neither.
>
> You're right, that processes only one event; try with:
>
>
>
>                        while gtk.events_pending():
>                            gtk.main_iteration(False)
>
>
> Pietro
>
>
> _______________________________________________
> pygtk mailing list   pygtk@daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>



-- 
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
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to