4 ms·
After seeing how pretty Windows 11 applications are, I've been trying to create Windows desktop applications using Go or Rust but I have no idea what the Window
by apatheticonion 5y ago
After seeing how pretty Windows 11 applications are, I've been trying to create Windows desktop applications using Go or Rust but I have no idea what the Windows GUI API looks like and am unable to find/create bindings.
Linux's GTK4 is pretty easy to use, it's like vanilla JS and it's easy to get started.
Microsoft made it really hard to get started, and I gave up not long after I started.
- EMM_386 5y agoYou will likely need to use the Windows UI Library (WinUI). Documentation is here: https://docs.microsoft.com/en-us/windows/apps/winui/winui2/ https://docs.microsoft.com/en-us/windows/apps/winui/winui2/
- apatheticonion 5y agoThanks! Off I go again!
- starik36 5y agoI think WinUI2 is either deprecated or soon will be. There is WinUI 3. https://docs.microsoft.com/en-us/windows/apps/winui/winui3/ https://docs.microsoft.com/en-us/windows/apps/winui/winui3/
- EMM_386 5y agoCorrect, noted on the top of the doc page I sent with links to it .... but yes, 3.0.
- lostmsu 5y agoThe best place to start for you is https://github.com/microsoft/windows-samples-rs https://github.com/microsoft/windows-samples-rs UI example is: https://github.com/microsoft/windows-samples-rs/tree/master/xaml_app https://github.com/microsoft/windows-samples-rs/tree/master/...