diff options
author | 2021-04-21 17:52:31 -0300 | |
---|---|---|
committer | 2021-06-25 14:14:03 +0200 | |
commit | 9ae22b58d843d9a39212028478598c19a49bc2e6 (patch) | |
tree | eb470591af6a050632a93db8fbab9cfc3b805de8 /glutin | |
parent | d2c8a3e04b02a1fcf54504bcbd41c488a8bba88a (diff) | |
download | iced-9ae22b58d843d9a39212028478598c19a49bc2e6.tar.gz iced-9ae22b58d843d9a39212028478598c19a49bc2e6.tar.bz2 iced-9ae22b58d843d9a39212028478598c19a49bc2e6.zip |
Added events for url handling and create example
Diffstat (limited to 'glutin')
-rw-r--r-- | glutin/src/application.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/glutin/src/application.rs b/glutin/src/application.rs index 79fcf745..55293b3b 100644 --- a/glutin/src/application.rs +++ b/glutin/src/application.rs @@ -237,6 +237,9 @@ async fn run_instance<A, E, C>( context.window().request_redraw(); } + event::Event::ReceivedUrl(url) => { + events.push(iced_native::Event::UrlReceived(url)); + } event::Event::UserEvent(message) => { messages.push(message); } |