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

engine spot enginespot at gmail.com
Fri Dec 4 17:55:01 WST 2009


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

    such as

    wg=gtk.WindowGroup()
    w1=gtk.Window()
    w2=gtk.Window()
    w3=gtk.Window()
    wg.add_window(w1)
    wg.add_window(w2)
    wg.add_window(w3)

    how to show w1,w2 and w3?

    for wi in wg
      wg.show()?????


More information about the pygtk mailing list