How many elements do I have in a gtklist?



Hello.

How can I know how many elements do I have in a gtklist?

I have read gtklist.h and I didn't find anythig. I have tried this:

int i;
GtkWidget clist1;

/* Code... */

        i = ((GtkList *)clist1)->anchor;

but it doesn´t work. I'm not sure what anchor represent.

Thank you. Greetings from Spain.
--
Antonio Martínez Álvarez, <pascal eresmas net>



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