Canceling a DnD



Hello list!

How can I abort a DnD operation?

I have a GtkTreeView as a DnD source, but I want to disallow DnD on some special
rows. For that I connected to the "drag-begin" signal and there I check the selected
row to be dragged. If it is a special row, I call

gdk_drag_abort(context, GDK_CURRENT_TIME);

but that seems to do nothing at all.

Thanks,
Ian L. Rodrigues.


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