[pygtk] how to show multiple window from gtk.windowgroup

John Stowers john.stowers.lists at gmail.com
Fri Dec 4 18:08:29 WST 2009


On Fri, 2009-12-04 at 17:55 +0800, engine spot wrote:
> Hello everyone
>     I have a question
>     we can use the follow code to show a new window
> 
>     import gtk
>     w=gtk.Window()
>     w.show()
> 
> 
>     but if we add the window to windowgroup,how to show all of the
> windows from gtk.windowgroup

Why do you want to use a gtk.WindowGroup? 

gtk.WindowGroup has some specific uses wrt. managing modality among many
top level windows (AIUI), but I have never seen a good use of it.

John



More information about the pygtk mailing list