file-drop
Factor handbook > UI framework > Implementing new gadgets > UI gestures > File drop gestures


Vocabulary
ui.gestures

Class description
File drop gesture. The mods slot contains the keyboard modifiers active at the time of the drop (see Keyboard gestures). The dropped-files global variable contains an array of full paths of the files that were dropped.

The hand-loc global variable contains the drop location. If the user dropped files onto the non-client area of a window (the caption or the border), the gesture will not be triggered, but the contents of the dropped-files will be updated.

Definition


Methods