[pygtk] Using multiple dialog boxes
Markus W. Barth
markus at sismografo.es
Thu Jun 12 16:56:26 WST 2008
The first window (main window) should be gtk.Window, the others should
probably be gtk.Dialog
You create an instance of your dialog and call run()
It's difficult to tell why this happens without seeing the code.
On Wednesday 11 June 2008 14:42:59 Timo wrote:
> Hello all, I'm writing a program that has 3 dialog boxes, 1 main which
> is the main window and runs on startup. Then I have 2 other that have to
> show when the appropriat button is pressed. I made these 3 windows in
> Now, since my program was getting big, I splitted up my .py file in 3,
> each dialog has it's own .py file, but now my calls for opening the
> dialogs aren't working as they should be anymore. They show the first
> time I click the button, but the second time they don't and I have to
> restart my program.
> What is the proper way to call a dialog box that is in another .py-file?
> Hope this explanation makes sense.
> pygtk mailing list pygtk at daa.com.au
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
More information about the pygtk