dimitri pater wrote:
mmh, this doesn't sound very "elegant", but if it works: don't break it.
Maybe someone comes up with a better solution.

It's not and It doesn';t work, I forgot to run the app in a terminal to see any output and there was an errors, once I fixed the error, this closed both windows :(

I'm now looking into using the set_sensative() option for the button, setting this to True and once all the fields have the correct text in, set the set_sensative back to False, thus enabling the user to click the OK button (hopfully).

But again, being new to gtk, I'm trying several things,
/me hoping that using the code below works:

        while gtk.events_pending():
                gtk.main_iteration()
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to