Re: [gtk-list] Expose events and drawing areas



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]