Re: Multiple row drag and drop in a Gtk::TreeView

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2005-03-01 at 17:42 -0600, Bryan Forbes wrote:
> I'm working on getting multiple row drag and drop working in Coaster,
> but I've hit a wall.  I've looked into using EggTreeMultiDnd, but I'm
> having a hard time getting it working with Gtkmm.  When I drag a row
> from my Gtk::TreeView, I get this on the command-line:
> 
> (test:16991): GLib-GObject-WARNING **: invalid cast from
> `gtkmm__GtkTreeStore' to `EggTreeMultiDragSource'
> 
> ** (test:16991): CRITICAL **: egg_tree_multi_drag_source_row_draggable:
> assertion `EGG_IS_TREE_MULTI_DRAG_SOURCE (drag_source)' failed
> 
> I'm attaching my small test case.  I'm not sure what I'm doing wrong,
> but I can't seem to wrap my head around the Egg multi dnd interface
> thing.  Any help would be appreciated!

I see no warning with that test case, but I am only dragging rows inside
the treeview itself.

However, it's very possible that egg_tree_multi_drag_add_drag_support
(treeview), which you call, expects the treeview to contain a model that
implements the EggTreeMultiDragSource model. You'd need to find a model
that does. 

-- 
Murray Cumming
murrayc@xxxxxxxxxxx
www.murrayc.com
www.openismus.com

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux