Dear list-reader,
Using: pygtk 1.99.13(CVS of yesterday)
The GTK C reference says a GTKTreeIter has 4 attributes:
stamp, user_data, user_data2, user_date3
In Python however, the TreeIter object is not able to reach the attributes. So, I
cannot tell what data is selected from my ListStore
Rene Olsthoorn wrote:
Dear list-reader,
Using: pygtk 1.99.13(CVS of yesterday)
The GTK C reference says a GTKTreeIter has 4 attributes:
stamp, user_data, user_data2, user_date3
In Python however, the TreeIter object is not able to reach the attributes. So, I cannot tell what data is selected
On Thu, Nov 21, 2002 at 05:15:30AM -0500, Rene Olsthoorn wrote:
liststore, iter = self.treeview.get_selection().get_selected()
How can I get the information I want from the iter?
The liststore only has a set-method not a get-method.
You can use TreeModel.get_value(), e.g.
def