How to get Position of GtkTreeIter?
- From: Matthias Mann <matman matman24 org>
- To: gtk-app-devel-list gnome org
- Subject: How to get Position of GtkTreeIter?
- Date: Mon, 18 Aug 2003 22:12:08 +0200
*** How to get Position of GtkTreeIter? ***
Dear People! Need your suggestions/ideas for this situation:
In one loop i added some GtkListIter to a Column:
gtk_list_store_insert(listView->listStore,
&listView->listIter, position);
Note: I always used the same iterator (address of listView->
listIter can not be changed in my code).
Later i have a callback ("changed") that takes action if a
user of my app selected e.g. the 17'th entry in this list
fiew that is position 16 (begin of count=0). But callback
function don't know about this 17'th position. Now, how can i
get this position?
I'm searchig for a function like "gtk_list_view_get_position()"
in cooperation with gtk tree selection mode (value that we'll
get by calling gtk_tree_view_get_selection(); ). Is anybody
here who knows about such possibility?
mathew
--
______________________________________________
get free software: www.matman24.org
______________________________________________
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]