[EMAIL PROTECTED] wrote: >Hi, > >i am new to python and therefore new to pygtk. >I use Gentoo Linux with the newest availabel packages. > >While trying to write something in python my first try makes me >problems. I installed pygtk pygtk-1.99.10 i also have >imlib and imlib2 installed. Unfortunately pygtk does not create >GdkImlib.(py|pyc|so) so the folowing code fails. > >#!/usr/bin/env python > > >import gtk >import GdkImlib > > >quite short isn't it > >If i download pygtk-1.99.10 and configure and make it by hand there is >no imlib directory in the examples directory. What am i missing. >Ist this an pygtk or an Gentoo problem. >Imlib-config is availabel and is working. > > There is no imlib wrapper in the 1.99.x series of pygtk. Use the gtk.gdk.Pixbuf class to load and render your images instead.
James. -- Email: [EMAIL PROTECTED] | Linux.conf.au 2003 Call for Papers out WWW: http://www.daa.com.au/~james/ | http://conf.linux.org.au/cfp.html _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
