pygtk  

Re: [pygtk] Attribute error: module object has no attribute 'Window'

Gian Mario Tagliaretti
Mon, 25 Jan 2010 02:40:28 -0800

On Mon, Jan 25, 2010 at 3:11 AM, Dick Thiebaud <thiebauddi...@aol.com> wrote:
> I get this on:
>
> import pygtk
> import gtk
> w = gtk.Window(WINDOW)

do you have created your example in a file called gtk.py?

p.s.
you don't need import pygtk

cheers
-- 
Gian Mario Tagliaretti
GNOME Foundation member
gia...@gnome.org
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/