[pygtk] how to show multiple window from gtk.windowgroup
engine spot
enginespot at gmail.com
Fri Dec 4 18:19:14 WST 2009
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 <john.stowers.lists at gmail.com>:
> 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