fre 2003-03-21 klockan 23.10 skrev Greg Ward: > I'm playing around with a GtkTreeView widget with multiple selection. > Looks like gtk_tree_selection_get_selected_rows() (aka > TreeView.get_selected_rows()) isn't wrapped in pygtk 1.99.15. ;-( I > think I can workaround it using TreeView.selected_foreach(), but > that's a bit awkward. Is this a deliberate omission, a known oversight, > or a minor detail that got left out by mistake?
get_selected_rows() was actually introduced in Gtk+ 2.2 PyGtk 1.99.x is still aimed at Gtk+ 2.0 (so we won't delay PyGtk 2.0 even further) I guess you have to wait or use get_selected_foreach() for now I'm afraid. Or just write your own get_selected_row() in python since it's a quite trivial function. -- Johan Dahlin <[EMAIL PROTECTED]> Async Open Source _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
