Canceling a DnD
- From: Ian Liu Rodrigues <ian liu88 gmail com>
- To: Gnome List <gtk-list gnome org>
- Subject: Canceling a DnD
- Date: Tue, 13 Dec 2011 11:43:03 -0200
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]