Re: How do expose_events work?



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]