Code --> http://pastebin.ca/439954 <--
resume:
import gtk
import gnomecanvas
...
im = GdkImlib.Image("5b.png")
w = self.acanvas.root().add('GnomeCanvasImage', image=im, width=70,
height=105)
...
at execurion time:
NameError: global name 'GdkImlib' is not defined
and if I probe:
...
im = gnomecanvas.GdkImlib.Image("5b.png")
w = self.acanvas.root().add('GnomeCanvasImage', image=im, width=70,
height=105)
...
at execution time:
AttributeError: 'module' object has no attribute 'GdkImlib'
Perhaps the problem is that I use the 'python-gdk-imlib-1.2' and GdkImlib
is not defined at python2.4-gnome2 ????
thks
--
http://mail.python.org/mailman/listinfo/python-list