Jpegs in a GtkWindow



Thanks for the follow ups on my previous question with respect to
mixing toolkits... this now leads me in to my issue...

I'm using gdk_imlib to display a jpeg image. I could use the GdkPixbuf
stuff, but unfortunately I'm somewhat restricted in using a 'stable'
gtk release, as this needs to be in a production environment. So, I
guess the issue is that Gdk imlib can put an image in to a GdkWindow,
which pops up nicely and I can get this GdkWindow to be displayed
seperately from the GtkWindow with the rest of my various buttons. So,
the key becomes putting them together. I'm using GtkPacker and hope to
have a pack which would be this GdkWindow with the image in it, then
another pack containing the rest of my stuff.
I realize this question may be more imlib related than anything, but
my cursory search didn't reveal much in the way of examples and the
imlib documentation, at least that which I found was pretty
weak.
I'm also open to any other ways of displaying a jpeg (as well as tiff,
png, etc.), in a gtk window. I know the gimp obviously does it, but
something tells me it could take the rest of my life to sort through
that.

-- 
Josh Howard <jrh vicor-nb com>



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