Howto drag'n drop to ctree items?
- From: Till Harbaum <harbaum ibr cs tu-bs de>
- To: gtk-app-devel-list gnome org
- Subject: Howto drag'n drop to ctree items?
- Date: Fri, 8 Sep 2000 10:44:03 +0200
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]