array of labels



    Hello,

how can I pass an array of labels to a function?

int main()
{
GtkWidget *label[5];
.............
foo( ?????);<-------- ????
..............
return 0;
}

gint foo(GtkWidget *widget)
{
..................
    gtk_label_set_text(GTK_LABEL(???), "new text");
..............
    return(TRUE);
}





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]