Re: [gtk-list] Event Box defect




> 	event_box = gtk_event_box_new();
> 	gtk_signal_connect(GTK_OBJECT(event_box),
> "enter_notify_event",GTK_SIGNAL_FUNC(do_something), &booger);

EventBoxes needs signal handlers with of the format;

	gint do_something(GtkWidget *widget, GdkEvent *event, gpointer data)

So sneak in the GdkEvent parameter in the middle of the others, and
you should be up'n'running...

Vidar




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