[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: JPEG (revisited)
- From: Havoc Pennington <rhpennin midway uchicago edu>
- To: gtk-app-devel-list redhat com
- Subject: Re: JPEG (revisited)
- Date: Wed, 4 Nov 1998 21:39:00 -0600 (CST)
On Wed, 4 Nov 1998, Scott. wrote:
>
> since my last posting, i've made progress...
> i've gotten the JPEG image into a GdkImlibImage...
> and i see that gtk_image_new(GdkImage*, GdkBitmap) is sitting there
> waiting for me to create a new gtkimage, BUT, i can't find the link
> between a GdkImlibImage, and a GdkImage...
>
I don't think GtkImage is what you want (though it might be; I'm not sure
what it's for); what you really want is GnomePixmap (which does Imlib for
you), but failing that GtkPixmap or GtkDrawingArea. Imlib has functions to
give you a GdkPixmap, which you can stuff into a GtkPixmap (documented in
the tutorial), or draw to a drawing area with gdk_draw_pixmap (using the
drawing area is discussed in teh tutorial's "scribble" example).
Havoc
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]