Drag And Drop
- From: Andy Grebe <andyg apogeelabs com>
- To: gtk-app-devel-list gnome org
- Subject: Drag And Drop
- Date: Tue, 17 May 2005 08:16:10 -0400
I've got a window which has a GtkList on the left side and a table of
entries on the right side. I want to be able to drag from the list and
drop the selection into an entry. I setup the list as a drag source and
each entry as a drag dest.
So when I go to drag from the list and drop into the entries, I have no
problems. However, I don't want to be able to drag and drop from one
entry to another. It seems as it does this by default. So I connected
the drag_data_get signal to the entries and placed nothing into the
selection data. Even though I got a TRUE from placing a string of zero
length into the selection data, the drag and drop still occurred.
I tried to set the entries up as drag sources too, but then whenever I
even start to highlight an entry with the mouse it attempts to drag the
text.
I'm pretty much out of ideas. I even attempted to do a drag_abort, but
this did not seem to do anything.
Thanks
--
Andy Grebe
Design Specialist
Network And Video Group
North Wales Facility
Apogee Labs, Inc.
(215)699-2060
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]