[659] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: gtk_image
daemon@ATHENA.MIT.EDU (Owen Taylor)
Mon Aug 4 22:18:50 1997
To: gtk-list@redhat.com
From: Owen Taylor <owt1@cornell.edu>
Date: 04 Aug 1997 22:20:10 -0400
In-Reply-To: Jeff's message of 04 Aug 1997 18:58:39 -0700
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
Jeff <schizm@pc-4374.bc.rogers.wave.ca> writes:
> Rob Browning <rlb@cs.utexas.edu> writes:
> > http://www.misc.cornell.edu/~otaylor/gsumi/gsumi.html
>
> you sure about that URL? www.misc.cornell.edu doesn't exist :/
http://www.msc.cornell.edu/~otaylor/gsumi/gsumi.html
^^^
But it's another program that uses gdk_images directly instead of
using gtk_image ...
Most of the "hard" stuff is the same though. To use a gtk_image
you: (without trying any of this out)
* create a GdkImage
* call gtk_image_new (image, NULL)
[ or (image,mask) if you have a mask ]
[ or, if you need to switch images, uses gtk_image_set ]
* do gdk_image stuff.
* call gdk_widget_draw (widget,rectangle) when you need to redraw
some changed portion. (rectange == NULL => all)
Hope this helps (I'm sure Rob's eventual tutorial will be better),
Owen
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null