[Glade-users] Question???

kevin chen chenchangbing at gmail.com
Fri Nov 2 09:58:32 EDT 2007


I build a button in glade 3.4.0
    and set the 'Handler' of button to be 'on_button1_clicked'
    and set the 'User_data' to be 'Hello'.
but...
when I use this function to get the value of the 'User_data'

=====================================================
void on_button1_clicked(GtkButton *button,gpointer user_data)
{
            g_print("User has clicked button1 %s\n",(gchar *)user_data);
}
=====================================================

I get this 'User has clicked button1 '.

It seems nothing to be returned.

Help!


More information about the Glade-users mailing list