RE: draw signals
- From: "Dugas, Alan" <alan dugas analog com>
- To: gtk-app-devel-list gnome org, gtk-list gnome org
- Subject: RE: draw signals
- Date: Thu, 21 Dec 2000 20:01:01 -0500
Opps, let me correct myself. I'm finding that a "draw" AND an "expose_event"
are being emitted. Is there any way to filter this so that only the
"expose_event" is acted upon. My pixmaps are being refreshed by the
"expose_event" and then redrawn by the "draw" signal unnecessarily. By doing so
it is forcing my to allocate memory for the redraw, when I don't really need to.
The pixmap hasn't changed, so I only need to refresh it. In and all help would
be greatly appreciated. Thanks in advance!
-- Stupid Genius
----------
From: Dugas, Alan
Sent: Thursday, December 21, 2000 7:41 PM
To: 'gtk-app-devel-list gnome org'; 'gtk-list gnome org'
Subject: draw signals
What are the conditions that a "draw" signal is emitted under? I'm finding
that a "draw" signal is emitted if a portion of a window is covered and then
uncovered. Does this make sense to anyone? I thought that an "expose_event"
would be emitted instead. Any help would be greatly appreciated. Thanks in
advance!
-- Stupid Genius
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]