introduce window::spawn and window::close
This commit is contained in:
parent
1bc0c480f9
commit
f93fa02543
5 changed files with 123 additions and 71 deletions
|
|
@ -675,6 +675,11 @@ pub fn run_command<A, E>(
|
|||
window::Action::Drag => {
|
||||
let _res = window.drag_window();
|
||||
}
|
||||
window::Action::Spawn { .. } | window::Action::Close => {
|
||||
log::info!(
|
||||
"This is only available on `multi_window::Application`"
|
||||
)
|
||||
}
|
||||
window::Action::Resize { width, height } => {
|
||||
window.set_inner_size(winit::dpi::LogicalSize {
|
||||
width,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue