Re: [gtk-list] Expose events and drawing areas
- From: Per Lewau <perle lysator liu se>
- To: Owen Taylor <owt1 cornell edu>
- cc: gtk-list redhat com
- Subject: Re: [gtk-list] Expose events and drawing areas
- Date: Mon, 27 Oct 1997 22:40:22 +0100 (MET)
On Mon, 27 Oct 1997, Owen Taylor wrote:
> > gtk_signal_connect(GTK_OBJECT(drawing_area), "expose_event",
> > GTK_SIGNAL_FUNC(expose_handler), NULL);
> > gtk_signal_connect(GTK_OBJECT(drawing_area), "configure_event",
> > GTK_SIGNAL_FUNC(configure_handler), NULL);
>
> gtk_widget_set_events (drawing_area, GTK_EXPOSURE_MASK);
^
It should be GDK_EXPOSURE_MASK, but now it works. Thanks!
-----------------------------------------------------------------------
Per Lewau (perle@lysator.liu.se) Student of Computer Science at
Linköping University, Sweden.
"Don't quote me; that's what you heard, not what I said."
- Lawrence K. Frank
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]