[gtkmm] drag and drop with multiple targets



i recently posted this to the regular gtk list but didn't receive any feedback - i didn't
realize this list existed until today so am re-posting here.

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]