Re: Signals: draw vs. expose_event
- From: Havoc Pennington <hp redhat com>
- To: "M Razhov" <mrazhov mail ru>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Signals: draw vs. expose_event
- Date: 18 Aug 2001 21:33:54 -0400
"M Razhov" <mrazhov mail ru> writes:
You should be fine just using expose.
"draw" is a legacy signal, and is gone in GTK 2.
What I am trying to do is damage a rectangle to redraw it
in the next loop iteration. I use gtk_widget_queue_draw_area,
but that doesn't seem to cause any expose_event to show up
on the queue. What's the correct way to do it?
queue_draw_area is right, but it's going to cause a draw signal, not
an expose event. (In GTK 2.0 it will cause an expose event.)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]