[Gtk-sharp-list] gtktreeselection failed on multiple

George Farris george@gmsys.com
20 Feb 2003 19:21:19 -0800


Seems like gtk_tree_selection_get_selected_rows () is not implemented
yet so multiple rows may not be possible yet.


On Thu, 2003-02-20 at 19:08, George Farris wrote:
> If I have a treeview and a liststore and set selections to multiple, I
> get this error from the "changed" signal handler when calling
> treeview.Selection.GetSelected(out model, ref iter))
> 
> Anyone know if this is a bug?  It seems to be the way the C version
> works, call this and then call SelectedForeach.
> 
> (:6258): Gtk-CRITICAL **: file gtktreeselection.c: line 362
> (gtk_tree_selection_get_selected): assertion `selection->type !=
> GTK_SELECTION_MULTIPLE' failed
> 
> 
> If selections are set to single everything works fine.
-- 
George Farris <george@gmsys.com>