more on re- draw at end of re-size
- From: "tony K." <tony kwok 3web net>
- To: gtk-app-devel-list gnome org
- Subject: more on re- draw at end of re-size
- Date: Tue, 13 Feb 2001 14:39:24 -0700
In order to perform a lengthy graphics generation only at
the end of the user window resize operation, when the
mouse button is released (there was a posting on the
topic a few days ago), I found a way to do it without the
use of timers (worked, but was to ugly for words...).
The top level window - it seems - receives from Xwin an
extra GdkEventConfigure event when the user releases
the button at the end of window resize operation. This
results in two duplicate, consecutive TLW configure
events, easy to detect and trigger graphics (on pixmap)
regeneration.
Is it safe to assume this behaviour to be consistent
across X versions and window managers/desktop
systems?
What is the significance of send_event item in
GdkEventConfigure structure? The API states something
to the effect that 1 means it was sent explicitly by
XSendEvent - as opposed to what...?
thanks in advance,
TK
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]