Re: Signals



Hi,

"Florent.Devin" <Florent Devin lifl fr> writes:

> gtk_signal_emit_by_name (GTK_OBJECT (widget), "expose_event", widget);
> 
> which mean that you have to provide all parameter of the function which
> is call when the signal is emited.
> 
> In my case the prototype is :
> gint f (GtkWidget *widget, GdkEventExpose *event, gpointer userdata)

and you still should _not_ create synthetic expose events, but use
gtk_widget_queue_draw() instead.


Salut, Sven






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]