[pygtk] gtk.Window act as gtk.Dialog

Mauro Giacomini aragorn78it at yahoo.it
Mon Jul 18 00:13:52 WST 2011


Hi,
I have one question.
Is it possible to make a gtk.Window act as a gtk.Dialog?
I am in this situation:
In my app I have one gtk.Window (the main window); in this windows I 
open a second Window where I collect input from the user.
I made this second window modal and set transient for parent (main 
window), but I want that the flow in main window stops until I collect 
the input in the second window.
I know gtk.Dialog acts as I want, but, if gtk.Dialog is pre-build with a 
vbox and action area.
If I want to add widget, then I must wrote:
dialog.vbox.pack_start(widget).
The window from which I collect data is little complex, I have 2 
notebooks, various treeview.
I hope that I explained well

Thanks in advance

Mauro Giacomini


More information about the pygtk mailing list