Drag and drop with many sources / targets
- From: Callum Prentice <gtk callum com>
- To: gtk-app-devel-list gnome org
- Subject: Drag and drop with many sources / targets
- Date: Thu, 29 Jan 2004 15:23:03 -0800 (PST)
part of my application involves being able to shuffle around small (say: 64x64) images using
drag and drop and i'm trying to implement this using the mechanism built into gtk+.
as far as i can tell, you need to have a separate container of Gtk::TargetEntry's for each
source/target - you can't tell what the source was otherwise - given that i could have lots
(100's perhaps) of these, is there a better way ?
i'm using regular buttons (eventually with the images embedded) for each element since it
looks like that is the only option for a drag/drop source - is there a better widget to use ?
labels didn't seem to work.
any comments appreciated ?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]