Multiple row drag and drop in a Gtk::TreeView



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!

-- 
======================================================================
Bryan Forbes
bryan reigndropsfall net
http://www.reigndropsfall.net

"It does not take a majority to prevail, but rather an irate, tireless
minority keen to set brush fires in people's minds."
        - Samuel Adams, an architect of the Constitution

Key fingerprint = 3D7D B728 713A BB7B B8B1  5B61 3888 17E0 70CA 0F3D

Attachment: test-tree-dnd.tar.gz
Description: application/compressed-tar

Attachment: signature.asc
Description: This is a digitally signed message part



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