Op 30/04/2010 16:28, Krisztian Buza het geskryf:
> Dear Colleagues,
>
> I am new with Python. I have installed Python (version 2.6), PyGTK and
> Glade (http://ftp.gnome.org/pub/GNOME/binaries/win32/glade3/) under
> Windows.
>
> The
>
> "import pygtk"
>
> command works nice (i.e. without error message), but
>
> "import pygtk.glade"
>
> does not seem to work: I get this error message:
>
> "No module named glade".
>
> I tried to add the glade-directories to the path:
> C:\Program Files\Glade\lib\glade3\modules;C:\Program Files\Glade\bin;
>
> May be, I did not add the right glade directories?
>
> Could anyone help me?
>
> Thank you very much in advance,
>

The "pygtk" module is not really the module you're looking for; it's 
usually only used for pygtk.require(). The actual GTK stuff is in the 
"gtk" module, which puts Glade in "gtk.glade" and not "pygtk.glade".

Regards,
-- 
Walter Leibbrandt                  Software Developer
Recent blogs:
* Ubuntu PPA for Translate Toolkit and Virtaal
http://www.translate.org.za/blogs/walter/en/content/ubuntu-ppa-translate-toolkit-and-virtaal

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to