summaryrefslogtreecommitdiffstats
path: root/core/src/window
diff options
context:
space:
mode:
authorLibravatar MrAntix <aj@antix.co.uk>2024-01-21 13:14:09 +0000
committerLibravatar MrAntix <aj@antix.co.uk>2024-01-21 13:20:01 +0000
commit9cfb0f4a09f2da076d41c74b5507ba256da181e3 (patch)
tree5995cdfe5cf7dacdc291fcb8a1ed5031a1d4b31a /core/src/window
parent545cc909c9f356dd733d273173694db9b8c28594 (diff)
downloadiced-9cfb0f4a09f2da076d41c74b5507ba256da181e3.tar.gz
iced-9cfb0f4a09f2da076d41c74b5507ba256da181e3.tar.bz2
iced-9cfb0f4a09f2da076d41c74b5507ba256da181e3.zip
feat(window): adds skip_taskbar for windows
Diffstat (limited to 'core/src/window')
-rw-r--r--core/src/window/settings/windows.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/window/settings/windows.rs b/core/src/window/settings/windows.rs
index 45d753bd..d3bda259 100644
--- a/core/src/window/settings/windows.rs
+++ b/core/src/window/settings/windows.rs
@@ -9,6 +9,9 @@ pub struct PlatformSpecific {
/// Drag and drop support
pub drag_and_drop: bool,
+
+ /// Whether show or hide the window icon in the taskbar.
+ pub skip_taskbar: bool,
}
impl Default for PlatformSpecific {
@@ -16,6 +19,7 @@ impl Default for PlatformSpecific {
Self {
parent: None,
drag_and_drop: true,
+ skip_taskbar: false,
}
}
}