Obtaining position of a list item



OK, I have a combo box and I know how to get the current selection:

selection = GTK_LIST(GTK_COMBO(combo)->list)->selection;

Now I'm curious as to how to figure out what position I am in the list.
Do I just have to go ahead and mess around with the GList *'s or is
there some sort of convinience function to do it for me?

Thanks!
Nathan



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