Re: Expose Event
- From: John Vetterli <jvetterli linux ca>
- To: gtk-app-devel-list gnome org
- Subject: Re: Expose Event
- Date: Fri, 11 Feb 2005 11:11:09 -0500
On Fri, 11 Feb 2005 06:06:00 +0000
"[ A b h i s h e k ]" <septembereleven hotmail com> wrote:
Im having problem regarding writing code in the expose event of my
event box. Whenever this event occurs, i am writing code to draw a
rectangle in the handler but nothing seems to happen whereas if i run
the same code in any other function or event handler it works. Is
there something i need to know about the expose event. If u could help
out please reply to abhisheksamuel hotmail com
The only explanation I can think of is that the widget hasn't been
set up to receive expose events. Something like
gtk_widget_add_events(mywidget, GDK_EXPOSURE_MASK) would do this.
HTH
JV
--
A requirement of creativity is that it contributes to change.
Creativity keeps the creator alive.
-- FRANK HERBERT, unpublished notes
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]