In the previous chapter, we finished our music player. It is completely fine, but using gtk-rs directly in Rust can be error-prone. That's why we'll rewrite our music player using relm, an idiomatic GUI library for Rust. Relm is based on gtk-rs, so the application will look the same at the end. However, the code will be cleaner and more declarative.
We will cover the following topics in this chapter:
- Relm
- Relm widgets
- Model-view-controller
- Declarative view
- Message passing