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.

Examples
A typical gesture handler looks like this: your-gadget-class H{ { T{ file-drop } [ dropped-files get-global [ nip ] curry models:change-model ] } } set-gestures

Definition


Methods