Glade + Python = No GUI

Kveldulv blackmh at gmail.com
Sun Sep 2 14:04:04 EDT 2007


On Sep 2, 7:29 pm, Wildemar Wildenburger
<lasses_w... at klapptsowieso.net> wrote:

>
> Shouldnt there be more to that error message of yours? I would expect
> something like "NameError: name 'gtk' is not defined"?
>
> Because as it seems you haven't impored gtk (only gtk.glade). So adding
> "import gtk" at the beginning should help.
>
> I may be wrong; I recall some weird importing requirements for pygtk, so
> I'm not sure if I'm to uninformed to see the actual problem.
>
> /W


Nope, everything imports well, no errors. With import gtk added,
I get the same thing...




More information about the Python-list mailing list