Re: Image process in gdk



On Sun, May 20, 2007 at 08:39:43PM +0200, Cédric Lucantis wrote:
Le dimanche 20 mai 2007 17:45, Luis Ramirez a écrit :

It looks like you are confusing GdkPixbuf and GtkPixbuf. A GdkPixbuf is not a 
widget but only an object storing a bitmap, while a GtkPixbuf is a widget 
displaying a GdkPixbuf. Anyway, GtkPixbuf is deprecated so you should use 
GtkImage instead.

I'm not sure this cleared all the confusion as GtkPixbuf
does not exist.  The deprecated widget is called GtkPixmap
(and there's really no reason to use it) (and there's also
GdkPixmap which is a completely different beast).  To sum it
up:

GdkPixbuf -- RGB[A] pixel buffer, used for basic image data
             representation and manipulation.
GdkPixmap -- off-screen drawable, i.e. off-screen relative
             of GdkWindow (both are GdkDrawables).
GtkPixbuf -- does not exist.
GtkPixmap -- deprecated widget, use GtkImage instead.

Yeti

--
http://gwyddion.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]