Re: [gtk-list] Re: Don't know why this does not work.



> void hello(GtkWidget *widget, GdkEvent *event, gpointer data)
> 
> isn't right for a callback... 

It's right for some callbacks.

> 
> void hello(GtkWidget *widget, gpointer data)
> 
> It should look like this.I only use the upper one when handling
> delete_event. I'm quite new with gtk also, so i can't really explain why.
> Try this though. Should work..

Callbacks all take different parameters. The simplest is (GtkWidget *widget,
gpointer data), but the select-row callback takes 5 parameters I think.

iain



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