slint-ui / slint

Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
https://slint.dev
Other
17.55k stars 601 forks source link

Slint should have a show_fullscreen() function #3283

Closed hunger closed 10 months ago

hunger commented 1 year ago

As discussed in #2775 about documenting fullscreen mode:

We should have a show_fullscreen() API to slint::Window to control fullscreen mode programmatically.

Edit(@tronical): As outlined in #3331 , the acceptance criteria for this ticket should include show_maximized at the same time.

JanDiederich commented 1 year ago

It seems that both, most important window backends, Qt and Winit, have a native built in live go-to-fullscreen capability.

ogoffart commented 10 months ago

Implemented in https://github.com/slint-ui/slint/pull/4286