Re:Get iter from GtkListStore? (1 viewing) (1) Guest
Favoured: 1
|
|
|
TOPIC: Re:Get iter from GtkListStore?
|
|
|
|
Get iter from GtkListStore? 1 Month, 3 Weeks ago
|
Karma: 0
|
|
Hi!
I am developing a download manager, and I implemented a "floating menu". All right there. Now, if the user right clicks on some part of the UI (it's a treeview), the menu appears. I need to know the iter of the row in where the user right-clicked to make the menu appear, so as to get some data for the menu. I am using a GtkListStore as the Treeview's model. How can I get the iter?
Thanks!
Emilio
|
|
|
|
|
|
|
Last Edit: 2008/09/27 06:47 By elopez93.
|
|
|
The administrator has disabled public write access.
|
kksou (Admin)
Admin
Posts: 391
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:Get iter from GtkListStore? 1 Month, 3 Weeks ago
|
Karma: 0
|
|
Thanks!
Just to note, I also had to use GtkListStore::get_iter to get the iter using the position GtkTreeview::get_path_at_pos() had given me as a GtkTreePath.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
|