Hello John I am learning pygtk,and I fount that if window is an object ,WindowGroup should be an object Controller,but for WindowGroup ,there are only two method(function) add_window,remove_window,but how to get window from it ?we can add window to it ,but we can not get it ,how to do with WindowGroup?
am I right? 2009/12/4 John Stowers <[email protected]>: > 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 > > _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
