summaryrefslogtreecommitdiffstats
path: root/core/src/window
diff options
context:
space:
mode:
authorLibravatar Héctor <hector@hecrj.dev>2024-10-02 15:29:35 +0200
committerLibravatar GitHub <noreply@github.com>2024-10-02 15:29:35 +0200
commite504e35146fe3a0f7b6136aefcbc13bbcf00b75d (patch)
tree7e8abd4403b4622bfaafcd3cb42f4c2336554554 /core/src/window
parente086c19a0628a5f9785904972f5aa5ef77cfe1dc (diff)
parent7a86900a45116994a4a175c8979550b28ec0dcfb (diff)
downloadiced-e504e35146fe3a0f7b6136aefcbc13bbcf00b75d.tar.gz
iced-e504e35146fe3a0f7b6136aefcbc13bbcf00b75d.tar.bz2
iced-e504e35146fe3a0f7b6136aefcbc13bbcf00b75d.zip
Merge pull request #2615 from bbb651/wayland-file-dropped-doc
Document Wayland `File*` Events as Unsupported & Fix Typos
Diffstat (limited to 'core/src/window')
-rw-r--r--core/src/window/event.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/src/window/event.rs b/core/src/window/event.rs
index c9532e0d..4e2751ee 100644
--- a/core/src/window/event.rs
+++ b/core/src/window/event.rs
@@ -46,17 +46,29 @@ pub enum Event {
///
/// When the user hovers multiple files at once, this event will be emitted
/// for each file separately.
+ ///
+ /// ## Platform-specific
+ ///
+ /// - **Wayland:** Not implemented.
FileHovered(PathBuf),
/// A file has been dropped into the window.
///
/// When the user drops multiple files at once, this event will be emitted
/// for each file separately.
+ ///
+ /// ## Platform-specific
+ ///
+ /// - **Wayland:** Not implemented.
FileDropped(PathBuf),
/// A file was hovered, but has exited the window.
///
/// There will be a single `FilesHoveredLeft` event triggered even if
/// multiple files were hovered.
+ ///
+ /// ## Platform-specific
+ ///
+ /// - **Wayland:** Not implemented.
FilesHoveredLeft,
}