© Shing Lyu 2020
S. LyuPractical Rust Projectshttps://doi.org/10.1007/978-1-4842-5599-5_3

3. Creating Graphical User Interfaces (GUIs)

Shing Lyu1 
(1)
Amsterdam, The Netherlands
 

Command-line tools are handy when you need small tools that don’t require visual interaction or batch processing. But a command-line program’s user interface is usually limited to text input/output and files. This is sometimes not sufficient when 2D (or even 3D) visual interaction is required. So this chapter breaks out of the constraint of the command-line interface and talks about graphical user interfaces (GUIs).

The end goal of this chapter is to show you how to build cross-platform desktop applications. Although there are frameworks like Electron1, which allows you to ...

Get Practical Rust Projects: Building Game, Physical Computing, and Machine Learning Applications now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.