You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[feat] API on settings::Window to configure enabled buttons via winit::WindowBuilder:: set_enabled_buttons#2033
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 like iced_core::window::Level or iced_winit::settings::PlatformSpecific and mapping to WindowButton
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I'd like to extend
settings::WindowAPI to have a value to configurewinit::WindowBuilder::set_enabled_buttonsThis 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.rschunk 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::WindowButtonsdirectly as part of Iced's API, or introduce an indirection likeiced_core::window::Leveloriced_winit::settings::PlatformSpecificand mapping toWindowButtonAll reactions