Re: g_signal_connect problem
- From: Hongli Lai <h lai chello nl>
- To: Lorenzo Delana <ldelana libero it>
- Cc: gtk-devel-list gnome org
- Subject: Re: g_signal_connect problem
- Date: Thu, 16 May 2002 19:00:45 +0200
Lorenzo Delana wrote:
I dont' understand why this simple code doens't work:
gint cb_button( GtkWidget* widget,
GdkEvent* event,
^^^^^^^^^^^^^^^^^^
There's your problem. A callback for GtkButton's "clicked" signal
doesn't have a parameter GdkEvent *event.
Your function should be declared as cb_button (GtkWidget *widget,
gpointer callback_data)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]