Canceling a DnD

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

 



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.
_______________________________________________
gtk-list mailing list
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