In previous chapters you created an awesome game, so now let's move on to another exciting topic—desktop applications. We'll use the Rust bindings of the GTK+ library in order to code an MP3 music player. We'll have the opportunity to learn about threads to code the music player itself in the next chapter. But, in this chapter, we'll focus on the graphical interface, how to manage the layout of the interface, and how to manage user events.
We will cover the following topics in this chapter:
- Windows
- Widgets
- Events
- Closures
- Event loops
- Containers