Howto drag'n drop to ctree items?



Hi all,

i have spent several hours figuring out how to make
selected ctree items to accept drag'n drop like
the mc does in the directory tree (but it's using 
clist's) and how to highlight the destination before
dropping. But i don't have a real clue. 

Is this to be done using drag events for the whole
ctree and then find the matching entry 'manually'?
Now that i have the coordinates for events, how do
i figure out which entry is at this coordinate on
the screen? Is there a simpler exa,ple than mc, that
can accept drag'n drop in this way?

I am going to use this for the Gtkrio500 application,
where i want to allow the user to drag files onto
folders on the rio in order to install them.

Ciao,
  Till




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]