#9 GTKLabel not defined

open
nobody
5
2004-06-17
2004-06-17
Anonymous
No

installed noarch rpm v0.1-1-1 using built in python
v2.2.3 on fedora core 1. Imported anygui and got this
error:

Traceback (most recent call last):
File "/home/lcglend/workspace/Test/test.py", line 1, in ?
import anygui as gui
File
"/usr/lib/python2.2/site-packages/anygui/__init__.py",
line 87, in ?
_backend_passthrough()
File
"/usr/lib/python2.2/site-packages/anygui/__init__.py",
line 59, in _backend_passthrough
mod = _dotted_import('anygui.backends.%sgui' % name,)
File
"/usr/lib/python2.2/site-packages/anygui/__init__.py",
line 41, in _dotted_import
mod = __import__(name, globals(), locals(), [])
File
"/usr/lib/python2.2/site-packages/anygui/backends/gtkgui.py",
line 64, in ?
class Label(ComponentMixin, AbstractLabel):
File
"/usr/lib/python2.2/site-packages/anygui/backends/gtkgui.py",
line 65, in Label
_gtk_class = GtkLabel
NameError: name 'GtkLabel' is not defined

Lisa Glendenning
lcglend@sandia.gov

Discussion