[Glade-users] Help Me

kevin chen chenchangbing at gmail.com
Fri Nov 2 07:09:30 EDT 2007


 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 data)
{
g_print("User has clicked button1 %s\n",data);
}
£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½
I get this 'User has clicked button1 '.

It seems nothing to be returned.

Help!

-- 
TrojanChen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20071102/b08ea358/attachment.html 


More information about the Glade-users mailing list