i want to store items in a gtk-list and i decided to use the Gtk TreeView as List. Because i am quite new to python and gtk i want to store my elements as string representation in the TreeView and in a seperate python-list the according objects.
So if i delete an item in the Gtk list (via key-event), i have to be able to determine the selected row index to delete the correct python-list element.
My actual question is: How can i determine the index of the selected row in a Gtk.TreeView?
Thank you for your help!
PS: I am using Python 3 with GTK 3