How many of those actually look and behave like native and support accessibility correctly?
Rust: State of GUI, December 2022
21–30 of 149 posts
Re: Rust: State of GUI, December 2022
#22How many of those actually look and behave like native and support accessibility correctly?
What even is "native" on Windows? Is it Win32? WinForms? WPF? UWP? WinUI? Windows App SDK? There's so many to choose from and they all look and behave differently.
Re: Rust: State of GUI, December 2022
#23Re: Rust: State of GUI, December 2022
#24How many of those actually look and behave like native and support accessibility correctly?
Re: Rust: State of GUI, December 2022
#25Re: Rust: State of GUI, December 2022
#26wow, really impressive!
An impressive write up and understanding of the available ecosystem and the way various things stack. Conversely, an appalling advertisement for the state of GUIs with Rust.
Re: Rust: State of GUI, December 2022
#27How many of those actually look and behave like native and support accessibility correctly?
Pax composites a layer of native text and form elements on top of a canvas drawing layer. This solves accessibility across platforms, as well SEO on the Web.
This approach also enables a lean runtime footprint (Still early days — have made very little noise thus far; it's pre-alpha — but you can see what's cooking at https://docs.pax-lang.org/ and https://www.github.com/pax-lang/pax
Re: Rust: State of GUI, December 2022
#28Re: Rust: State of GUI, December 2022
#29Sadly Rust for WinUI3/UWP/XAML for Windows GUI - actually modern UIs on Windows - was abandoned or explicitly removed from Rust API bindings by MS. The listed library only uses the ancient win32 api
Any idea why?! I find that the modern WinUI is impossible to use from any language other than .NET.
See also: https://github.com/microsoft/windows-rs/issues/2153#issuecom...
Re: Rust: State of GUI, December 2022
#30One thing I'd like to see are Rust bindings for wxWidgets. Contrary to the prevailing opinion, I think wrappers over native toolkits are a fine approach for cross-platform development.
I'm not sure this is the prevailing opinion. It may be something of a "vocal minority" opinion, but it does seem more common in the Rust community than elsewhere. The closer you get to traditional native app designers and developers, the more you'll hear the opinion that native look & feel (not to mention accessibility) is important to embrace.
IMO an ideal solution is to offer both: 1. to wrap native toolkits for things like text and UI controls, and 2. to enable canvas-drawn virtual controls, for those who would prefer to create their own widgets. These approaches can be enabled in parallel through an extensible widget/component system.