FilesDroppedEvent
classin packageklyn.gui.events
public class FilesDroppedEvent extends GuiEvent
└ FilesDroppedEvent

User-selected files dropped on a widget, in window coordinates. Entries are OS paths or file URIs; the receiver validates and imports them.

Example

widget.filesDropped += lambda(e as FilesDroppedEvent): print(e.paths)

Fields
Modifier and Type Member Description
public readonly paths
paths as IList<String>
No summary.
public readonly x
x as Int
No summary.
public readonl y
y y as Int
No summary.
Inherited Properties
propertyInherited Properties from Event: source, timestamp
Constructors
Modifier and Type Member Description
public FilesDroppedEvent
FilesDroppedEvent(source as Object, paths as IList<String>, x as Int, y as Int)
Captures one native drop without opening or modifying any file.