wip
This commit is contained in:
parent
a489a6b790
commit
e2918e0de9
19 changed files with 9291 additions and 60 deletions
|
|
@ -24,10 +24,10 @@ pub use iced_program as program;
|
|||
pub use program::core;
|
||||
pub use program::graphics;
|
||||
pub use program::runtime;
|
||||
use raw_window_handle::HasWindowHandle;
|
||||
pub use runtime::futures;
|
||||
use window_clipboard::mime::ClipboardStoreData;
|
||||
pub use winit;
|
||||
use winit::raw_window_handle::HasWindowHandle;
|
||||
|
||||
#[cfg(feature = "a11y")]
|
||||
pub mod a11y;
|
||||
|
|
@ -2271,6 +2271,16 @@ where
|
|||
window.raw.set_blur(false);
|
||||
}
|
||||
}
|
||||
window::Action::RunWithHandle(id, f) => {
|
||||
use window::raw_window_handle::HasWindowHandle;
|
||||
|
||||
if let Some(handle) = window_manager
|
||||
.get_mut(id)
|
||||
.and_then(|window| window.raw.window_handle().ok())
|
||||
{
|
||||
f(handle);
|
||||
}
|
||||
}
|
||||
},
|
||||
Action::System(action) => match action {
|
||||
system::Action::GetInformation(_channel) => {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ use iced_runtime::{
|
|||
core::{Vector, window},
|
||||
platform_specific, user_interface,
|
||||
};
|
||||
use raw_window_handle::HasWindowHandle;
|
||||
use winit::raw_window_handle::HasWindowHandle;
|
||||
|
||||
#[cfg(all(feature = "wayland", target_os = "linux"))]
|
||||
pub mod wayland;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue