Conclusion

This tutorial showed you how to combine built-in Slint elements with C++, Rust, or NodeJS code to build a game. There is much more to Slint, such as layouts, widgets, or styling.

We recommend the following links to continue:

  • Examples: The Slint repository has several demos and examples. These are a great starting point to learn how to use many Slint features.

  • Slint API Docs: The reference documentation for the main Rust crate.

  • Slint Interpreter API Docs: The reference documentation for the Rust crate that allows you to dynamically load Slint files.