Re: GtkDrawingArea weirdness ...
- From: Owen Taylor <otaylor redhat com>
- To: gtk-list redhat com
- Subject: Re: GtkDrawingArea weirdness ...
- Date: Sun, 07 Feb 1999 13:54:30 -0500
The set of events set on any widget is the union of:
events set with gtk_widget_set_events()
events the widget requests itself.
The DrawingArea asks for EXPOSE itself, so that will
always be set.
If that offends you, you could attach to "realize"
and use gdk_window_set_events (widget->window, ...)
to set a completely different event mask.
I'd just disconnect my signal handler for "expose_event".
Hope this explains things,
Owen
[
Why does GtkDrawingArea ask for EXPOSE. Because I got
tired of telling people to add EXPOSE with
gtk_widget_set_events(), and because I considered
it to be very rare that you would want a drawing
and not want to handle exposes.
]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]