Replies: 1 comment
-
PR for iterating + discussion: #2035 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to extend
settings::Window
API to have a value to configurewinit::WindowBuilder::set_enabled_buttons
This is the API I'd like to wire up in iced's winit:
https://github.com/iced-rs/winit/blob/c52db2045d0a2f1b8d9923870de1d4ab1994146e/src/window.rs#L264-L267
It seems like I can update
winit/src/settings.rs
chunk below to callset_enabled_buttons
:https://github.com/iced-rs/iced/blob/master/winit/src/settings.rs#L129-L137
Would this be the right option to add? Curious if we should use the
winit::window::WindowButtons
directly as part of Iced's API, or introduce an indirection likeiced_core::window::Level
oriced_winit::settings::PlatformSpecific
and mapping toWindowButton
Beta Was this translation helpful? Give feedback.
All reactions