[Glade-users] function pointers and signals

antonio giulio antongiulio05 at gmail.com
Sun Dec 17 05:32:03 EST 2006


Hi,

using glade-GUI I have added a signal for a button. In "Object" field
I want to insert a function-pointer for a generic function:

void on_button_clicked(GtkButton * button, gpointer user_data)
{
	...
	void (* func) (gint) = user_data;
        ...
}

but in run-time I got "user_data = 0x0".

Is it possible past in Glade-GUI a function pointer?

Thanks,
Giulio


More information about the Glade-users mailing list