|
Hi itīs me again
Iīm trying to pass a string to a callback but I
donīt know how.
Iīve tryed this:
char
str[256];
strcpy(str,"hello,world"); g_signal_connect (G_OBJECT (clist), "select_row", G_CALLBACK (MyCallback), str ); void Call_Menu(GtkWidget *widget, gint row, gint column, GdkEventButton *event, gpointer data){ g_printf("%s\n", (char *) data);
{
Any suggestion? any help?
Ariel Antonio Fritz
|