botones
is a 4*4 array of GtkWidget *
, when you call g_signal_connect
, you cast it to a gpointer
which is typedef for void *
, then in the callback function, you should cast the gpointer
back to a pointer to an array of 4 GtkWidget *
like this:
GtkWidget * (*elementos)[4] = (GtkWidget *(*)[4])info;
Then you can use elementos[0][0]
to access the 2-D array.