wip: native file handles when dropping 🎉
This commit is contained in:
11 files changed
+134
-76
No files matched your search
@@ -118,15 +118,6 @@ impl Config {
|
||||
self
|
||||
}
|
||||
|
||||
/// Set a file drop handler. If this is enabled, html drag events will be disabled.
|
||||
pub fn with_file_drop_handler(
|
||||
mut self,
|
||||
handler: impl Fn(WindowId, FileDropEvent) -> bool + 'static,
|
||||
) -> Self {
|
||||
self.file_drop_handler = Some(Box::new(handler));
|
||||
self
|
||||
}
|
||||
|
||||
/// Set a custom protocol
|
||||
pub fn with_custom_protocol<F>(mut self, name: String, handler: F) -> Self
|
||||
where
|
||||
|
||||
Reference in new issue
Block a user