Comments (6)
Is XAML even possible in the current state?
I think this issue is tracking the current state microsoft/microsoft-ui-xaml#2488
from areweguiyet.
The Windows Runtime API is basically a lightweight COM. The API can be consumed by any language with the C FFI, Rust including.
Microsoft provides official Rust bindings for Win32 and Windows Runtime https://github.com/microsoft/winrt-rs.
The official announcement blog post with a sample project https://blogs.windows.com/windowsdeveloper/2020/04/30/rust-winrt-public-preview/
The proposal you provided is for WinUI 3, which is a custom controls library for the XAML UI.
from areweguiyet.
Just out of curiosity what can i build with XAML so far (without WinUI 3). I am a Linux user so i don't know much about the UI story in Windows. I am just curious what the relationship between the two is. Can i build "normal" GUIs with XAML now, say simple buttons, input fields, lists, tree views etc. and WinUI 3 would support more "fancy" elements (i thinks they're called controls?). I tried NWG which is a wrapper around the classic Win32 UI and i would love to spend a weekend playing with it.
from areweguiyet.
Most of the Windows 10 UI is built with XAML UI, even the start menu and taskbar. You can build pretty much everything, you might not even need WinUI 3 for simple applications. But the upcoming version allows to you controls introduced in newer Windows releases in older, these are backported.
The winrt-rs allows you to consume any .winmd package, WinUI 3 including.
from areweguiyet.
Do you have any example (link to blogposts or repos) presenting a simple example, like a label changed at a button click because i am just wondering what this issue microsoft/windows-rs#81 (and the associate microsoft/windows-rs#745) is about. Is it to enable easier usage or working with it altogether? I am wondering what this crate is about https://crates.io/crates/windows-ui/0.7.0 looks like its a placeholder from the owner of windows-rs. I just don't feel like its at a "user friendly" stage with "just" what is available now – but i haven't really looked into it yet and from the first glance i am unsure how to even start (when i try to attempt to build something hopefully this weekend) ... i found this https://github.com/Perlmint/xaml-island-rs-example which may or may not work as a rough starting point.
from areweguiyet.
I've added windows-rs
in #124 since it is still useful for the lower-level stuff / non-XAML GUI stuff.
If a crate appears that makes XAML / Windows UI development easier, we can add it then.
from areweguiyet.
Related Issues (20)
- New blog post: Status of the Druid ecosystem in December 2022
- Tk HOT 1
- Add a screen reader support category
- Add license HOT 8
- Add sixyFPS HOT 1
- Can I contribute my library to areweguiyet? HOT 1
- Gtk link deprecated HOT 1
- Neon Bindings + Electron HOT 3
- Approaches link leads to 404
- WinSafe HOT 1
- Add news item for azul 1.0.0-alpha release? HOT 3
- Add a link to "So you want to write a GUI framework" HOT 2
- Add SixtyFPS HOT 2
- Add flutter_rust_bridge
- Add a category for NON-BINDINGS / native Rust libraries
- Add 'mobile' category HOT 2
- This repository needs new maintainers! HOT 11
- List of crates not loaded HOT 1
- No automatic redirect to HTTPS HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from areweguiyet.