Added event for cancelling a drag and drop.
This commit is contained in:
parent
5f00028f6b
commit
06e01e4cb3
2 changed files with 14 additions and 11 deletions
|
|
@ -26,11 +26,14 @@ pub enum WindowEvent {
|
|||
/// The window has been closed.
|
||||
Closed,
|
||||
|
||||
/// A file has been dropped into the window.
|
||||
DroppedFile(PathBuf),
|
||||
|
||||
/// A file is being hovered over the window.
|
||||
HoveredFile(PathBuf),
|
||||
|
||||
/// A file has been dropped into the window.
|
||||
DroppedFile(PathBuf),
|
||||
/// A file was hovered, but has exited the window.
|
||||
HoveredFileCancelled,
|
||||
|
||||
/// The window received a unicode character.
|
||||
ReceivedCharacter(char),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue