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

Gian Mario Tagliaretti gianmt at gnome.org
Mon Jan 25 18:39:53 WST 2010


On Mon, Jan 25, 2010 at 3:11 AM, Dick Thiebaud <thiebauddick2 a 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
gianmt a gnome.org


More information about the pygtk mailing list