Introduce opaque window::Id type
This commit is contained in:
parent
8fdd5ee8b6
commit
ec56c0686d
6 changed files with 48 additions and 12 deletions
|
|
@ -2,7 +2,7 @@
|
|||
use crate::command::{self, Command};
|
||||
use iced_native::window;
|
||||
|
||||
pub use window::{Event, Mode, UserAttention};
|
||||
pub use window::{Id, Event, Mode, UserAttention};
|
||||
|
||||
/// Closes the current window and exits the application.
|
||||
pub fn close<Message>() -> Command<Message> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue