Re: [gtk-list] Re: Don't know why this does not work.
- From: u07ih abdn ac uk
- To: mikael grahn mindkiller com
- Cc: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Don't know why this does not work.
- Date: Sat, 15 Jan 2000 15:23:12 +0000 (GMT)
> 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]