Re: How do expose_events work?
- From: Havoc Pennington <hp redhat com>
- To: Jeans <jeans ace ulyssis org>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: How do expose_events work?
- Date: 04 Nov 2000 13:43:17 -0500
Jeans <jeans ace ulyssis org> writes:
I have a expose handler in my container that forwards events
to children without a window:
if (GTK_WIDGET_DRAWABLE(child) && GTK_WIDGET_NO_WINDOW(child) &&
gtk_widget_intersect(child, &event->area, &child_event.area))
gtk_widget_event(child, (GdkEvent*)&child_event);
Hmm, I said the wrong thing here in my other mail - of course you
should forward expose events to children. I was thinking you were
forwarding all events.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]