[Glade-users] function pointers and signals
- From: antongiulio05 at gmail.com (antonio giulio)
- Subject: [Glade-users] function pointers and signals
- Date: Sun, 17 Dec 2006 10:32:03 +0000
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]