Re: [gtk-list] Re: Redrawing an Object?



==> Regarding [gtk-list] Re: Redrawing an Object?; Ullrich Hafner <hafner@informatik.uni-wuerzburg.de> adds:

>>>>>> "Jeff" == Jeff Clement <jclement@mindless.com> writes:
Jeff> Hi, I just started out with GTK+ and have been reading through the
Jeff> tutorial but have a question.  I have a Pixmap in a button in a table
Jeff> in a window.  Now my problem is I need the Pixmap to change.  I've
Jeff> tried gtk_container_add (button, newpixmap) but this doesn't redraw.
Jeff> Is there a way to force redraw.  Also, does anyone know how to do a
Jeff> wait retrace ( for flicker free graphics ) or a similar function.
Jeff> Thanks in Advance
hafner> You can change the contents of your pixmap widget with
hafner> gtk_pixmap_set (GTK_PIXMAP (pixmap_widget), pixmap, mask);

hi... i went off to try this (having had a similar problem), but i can't
seem to get gtk_pixmap_new even to work.  what documentation i could find
doesn't even match the header files, and the url to the archives someone
else posted also doesn't work, so would a kind sould please send me a code
snippet demonstrating this, or at least explain it a little more? 

			    thanks :*)

-- 
Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net | PGP key available
paramount.res.wpi.net RedHat 5.1 kernel 2.1.108    i586  | at public servers
"Note that if I can get you to "su and say" something just by asking,
you have a very serious security problem on your system and you should
look into it."
(By Paul Vixie, vixie-cron 3.0.1 installation notes)



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