mmh, this doesn't sound very "elegant", but if it works: don't break it.
Maybe someone comes up with a better solution. I'm pretty new to PyGtk myself to be honest.

greetz,
Dimitri

On 6/3/05, Mark Cooke <[EMAIL PROTECTED]> wrote:
The way I have got it to work
(and this is probaly completely wrong and bad practice, as there should
only be ONE gtk.main() per application), is to rather than use
gtkDialog, create a new gtk.main() & new GtkWindow with all my fields in
and when they click 'OK', validate the fields, and once the fields have
all be completed, run gtk.main_quit() to remove this the new window, so
this does not affect the parent window.

Mark
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



--
Please visit dimitri's website: www.serpia.com
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to