"Jeff Cutsinger" <[EMAIL PROTECTED]> writes:
[...drag & drop not working...]
> class PlaylistModel(g.ListStore):
> ...snip...
> def drag_data_received(self, dest, selection_data):
> rox.info(str(dest))
> rox.info(str(selection_data))
> return g.FALSE
> def row_drop_possible(self, dest, data):
> return g.TRUE
>
> def window(player):
> ...
> tree=g.TreeView(model=PlaylistModel(player))
> ...
> tree.enable_model_drag_dest([('text/uri-list', 0, 0)], gdk.ACTION_COPY |
> gdk.ACTION_MOVE | gdk.ACTION_PRIVATE)
This is just a wild guess, but shouldn't you call those two
on_drag_data_received() and
on_row_drop_possible() ?
Abel Daniel
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/