Obtaining position of a list item
- From: Nathan Froyd <maestrox geocities com>
- To: gtk-list redhat com
- Subject: Obtaining position of a list item
- Date: Tue, 02 Jun 1998 23:46:14 -0500
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]