On Mon, 24 Sep 2001, Skip Montanaro wrote:

>
>     James> You should be able to use the
>     James> gtk.gdk.pixmap_colormap_create_from_xpm_d function.
>
> My gtk module doesn't have a gdk attribute:
>
>     % python
>     Python 2.1.1 (#6, Sep 24 2001, 09:14:11)
>     [GCC 3.0.1] on linux2
>     Type "copyright", "credits" or "license" for more information.
>     >>> import gtk
>     ...
>     >>> dir(gtk.gdk)
>     Traceback (most recent call last):
>       File "<stdin>", line 1, in ?
>     AttributeError: 'gtk' module has no attribute 'gdk'
>
> I last cvs up'd late last week, so I think I'm fairly current.

If your copy is from before the class rename, the function would just be
in the gtk module.

James.

-- 
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/


_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to