Re: Q: how to stop a drawingarea from being drawn?



On Fri, Feb 20, 2004 at 05:09:30PM +0100, Johan Knol wrote:
Hi All,
[code snipped]
That works *perfectly*. However, every resize of its toplevel parent 
sends a "draw" signal that clears the drawingarea (because it's empty) 
and after that SDL refreshes it. That causes an anoying flickering. I 
can connect to that signal, but since the signal function returns void, 
how do I prevent that from happening?

I think you need to return TRUE from the "configure-event" or the
"expose-event" signal handler.

Roland
-- 
R.F. Smith                           /"\    ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l      \ /    No HTML/RTF in email
http://www.xs4all.nl/~rsmith/         X     No Word docs in email
                                     / \    Respect for open standards

Attachment: pgp0QQb_UgMf_.pgp
Description: PGP signature



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