class Eagle::FileDropEvent

Overview

A file was dragged onto the window. #path is its full path, for level editors and viewers.

Defined in:

eagle/core/events.cr

Constructors

Instance Method Summary

Instance methods inherited from class Eagle::Event

handled=(handled : Bool) handled=, handled? : Bool handled?

Constructor Detail

def self.new(path : String) #

Creates a file drop event.


Instance Method Detail

def path : String #

Full path of the dropped file.