"drag_begin" signal behavior
- From: Maxim Koshelev <mdem chat ru>
- To: gtk-app-devel-list gnome org
- Subject: "drag_begin" signal behavior
- Date: Thu, 31 Jan 2002 19:21:54 +0700
Hi there,
I'was writting some code to implement DnD from one widget to another
but I've found one problem there:
I can't stop DnD when it begun.
Example:
I need to drag some strings from on list to another (all work fine),
but it's invalid to allow dragging when selection in source list is empty!
Any attempts to call gtk_drag_finish(context,...) from "drag_begin"
signal handler caused "Bad atom" error and exiting.
Any ideas to forbid DnD when selection is empty?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]