[gtkada] Double expose event
manuel.op.de.coul at eon-benelux.com
manuel.op.de.coul at eon-benelux.com
Fri Jan 25 15:33:06 CET 2002
Preben Randhol wrote:
>manuel.op.de.coul at eon-benelux.com wrote on 17/01/2002 (13:32) :
>>
>> If no one else can think of a reason for the
>> double occurrence of expose_event in case of a
>> window resize, I will post a bug report for Gtk.
>Perhaps you should first ask at the gtk list.
I think I won't bother. I found a simple workaround,
which is to add a handler for size_allocate events
on the window (not the drawing area), and let it set
a global boolean to indicate that this happened and
prevent a double update of the drawing area by ignoring
the next expose_event.
We'll see if this still works with the next Gtk version
or not.
Manuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/gtkada/attachments/20020125/69947026/attachment.htm
More information about the gtkada
mailing list