Re: Show a JPG-Image in one window with buttons
- From: Keith Sharp <kms passback co uk>
- To: Christian Schneider <christian_schneider_2000 yahoo de>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Show a JPG-Image in one window with buttons
- Date: 10 Mar 2003 20:32:03 +0000
On Sun, 2003-03-09 at 11:12, Christian Schneider wrote:
Hallo,
thanks for all people who helped me with the JPG in a
GTK-Window. Now it works :-)
Writing the "gtk_init (...);" after the code I wrote
here was a stupid mistake ;-)
Now I want to modify the problem a little bit.
I want to show the JPG in a window with buttons and I
tried to use a drawing area.
I would suggest that you look at using GnomeCanvas to draw your image
and buttons on.
You could look at the API guide:
http://developer.gnome.org/doc/API/2.0/libgnomecanvas/index.html
Or the relevant chapter from "Writing GNOME Applications" by John R.
Sheets:
http://developer.gnome.org/doc/books/WGA/gnome-canvas.html
Note that this was written for GNOME 1.x, so some stuff has changed with
the newer versions. I found combining the info from the Sheets book
with the API guide enough to get me started.
Keith.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]