Hi! I'm trying to print out the selected area of a TreeView, but can't seem to get the contents out. I can't use gtk_tree_path_to_string, as pygtk has no treepath object, only a singleton tuple(!?). I can't use treemodel.get_iter_from_string, as that function doesn't seem to exist. Same goes for treemodel.get(). What's the easiest way to get the contents of a row given a model, a path and an iter?
Also, I can't seem to check how many rows are selected except with a foreach that counts them, as treeselection.get_selected_rows and treeselection.count_selected_rows don't appear to be in there. I'm using PyGtk2 version 1.99.15 on a Debian system. Thanks in advance, -Lars -- Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor "I do not agree with a word that you say, but I |---------------------------- will defend to the death your right to say it." | Where are we going, and --Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket? _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
