summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorLibravatar Bingus <shankern@protonmail.com>2023-03-13 18:19:16 -0700
committerLibravatar Bingus <shankern@protonmail.com>2023-03-14 11:05:41 -0700
commitce4b2c93d9802dfb8cd3fc9033d76651d4bbc75b (patch)
treea690bb94262b7a898a608d11e18960db81e7ef0c /native
parent8ba18430800142965549077373e2a45d0a3429a1 (diff)
downloadiced-ce4b2c93d9802dfb8cd3fc9033d76651d4bbc75b.tar.gz
iced-ce4b2c93d9802dfb8cd3fc9033d76651d4bbc75b.tar.bz2
iced-ce4b2c93d9802dfb8cd3fc9033d76651d4bbc75b.zip
Added simpler MW example
Diffstat (limited to '')
-rw-r--r--native/src/window/id.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/native/src/window/id.rs b/native/src/window/id.rs
index 0c3e5272..0a11b1aa 100644
--- a/native/src/window/id.rs
+++ b/native/src/window/id.rs
@@ -4,6 +4,8 @@ use std::hash::{Hash, Hasher};
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)]
/// The ID of the window.
+///
+/// Internally Iced uses `window::Id::MAIN` as the first window spawned.
pub struct Id(u64);
impl Id {