Conclusion

In this tutorial, we have demonstrated how to combine some built-in Slint elements with Rust code to build a little game. There are many more features that we have not talked about, such as layouts, widgets, or styling.

We recommend the following links to continue:

  • Examples: In the Slint repository we have collected a few 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 Rust crate that allows you to dynamically load .slint files.