Overview of the workshop:
As a low level language, Rust is perfectly suitable for making user interfaces the old fashioned way, with native APIs. Rust’s expressiveness and high level abstractions make it ideal for building intricate and complex user interfaces. However, writing a GUI application in today’s world typically means supporting many platforms.
This workshop introduces Slint, a Rust based declarative GUI toolkit, and will show you how to build GUI applications with Rust. By the end of the workshop, you will have built a fully functioning cross-platform application in Rust. Little to basic Rust knowledge is sufficient to follow the contents of the workshop.
-
1. Starting with Slint
a) Visual Studio Extension
b) boilerplate app -
2. Slint Language
a) Syntax and Concepts
b) Widgets
c) Building a simple demo UI -
3. Slint Rust API
a) slint-build crate
b) Threading and Event-Loop
c) Platform-specific modules
d) Model trait
e) Implementing a Rust backend for demo UI -
4. Target Platforms
a) Desktop
b) WebAssembly
c) Embedded Linux
d) Microcontrollers
e) Android -
5. Advanced Topics
a) Implementing a custom control
b) Layouts
c) FilterModel
d) Backend Com
e) Integrating custom OpenGL contents
f) Playing Video with GStreamer -
6. Contributing to Slint
a) The Slint source code repository
b) Submitting issues
c) The Slint community
Hardware sponsored by