Fof uses the Offix dnd library to provide a lot of drag and drop functionalities. The mouse button 2 (middle) is the drag and drop initiator. To make a drag and drop, follow these steps :
NOTE : By default, fof will ask you to confirm the drop, you can change this behaviour by setting the DndAlwaysConfirm variable to FALSE in the configuration file (see section 8).
By default, the drag and drop operation is : COPY. You can use the following modifiers before starting the drag to change the operation :
NOTE : You can change these defaults by changing a few variables in the configuration file (see section 8).
The drag and drop can work in a single application as well as in separate windows.
Here are the different possibilities of drag and drop :
There are two types of objects you can drag from a file list :
To drag a single item, you have to unselect all the file of the current selection and start the drag on the item (note : the file is automatically selected).
If a selection is active, it will be used as the drag "object" even if you don't move the pointer on one item of the selection.
You can drop a file list selection in :
The dragged object will be COPIED/MOVED/LINKED to the directory.
The executable file will be executed using the Exec dialog box (see section 4). The dragged object will be used as the command parameter
Same as a)
Same as b)
This will COPY/MOVE/LINK the dragged "object" to the current directory of the other window.
This will COPY/MOVE/LINK the dragged "object" to the directory.
You can COPY/MOVE/LINK a directory in the tree browser. The possible drops are the same as the file list drag source.
The found files can be used as a source for a drag and drop event. The possible drops are the same as the file list or tree browser drag sources (see section 7)
IMPORTANT : IF THE SELECTION USED BY A DRAG AND DROP ACTION CONTAINS A DIRECTORY, ALL THE CONTENTS (HIERARCHY) OF THE DIRECTORY WILL PARTICIPATE TO THIS ACTION.