Re: Pixmap not being rewritten..



Tim Burgess wrote:
> I sat down this morning and started on my first GTK app. I've got to this
> point and I'm stumped as to why the 'bar' pixmap doesn't appear over the
> 'base' pixmap...I suspect it's something to do with style but why it may
> be is beyond me...

Hi Tim, you should do all your drawing in the "expose" event. Take a
look at the scribble example in the tutorial:

	http://www.gtk.org/tutorial/sec-thedrawingareawidget.html

John




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