Skip main navigation

Course Overview

Learn Rust GUI programming with multiple frameworks. Build calculators, games, and quizzes using Iced, GTK, FLTK, Relm4, and eGUI. Develop a portfolio

Rust GUI Programming Course

All Examples Source Code

In this course, you will master Rust GUI programming. You’ll use Iced, GTK, FLTK, Relm4, and eGUI frameworks to build calculators, games, and quizzes. You start by setting up Rust on Kubuntu. Then dive into Iced, creating a calculator and to-do list. Next, you’ll build Pong with FLTK and a password generator with GTK. Finally, you’ll make a Simon Says game using Relm4 and a quiz app with eGUI. Short videos, readings, and labs guide you. By the end, you’ll have a strong portfolio of GUI projects in Rust.

Week 1: Introduction to Rust GUI Programming

Lesson 1: Setting up a Rust Development Environment on Kubuntu

Set up a complete Rust development environment on Kubuntu. Install necessary tools, configure the Kate editor, and prepare your system for Rust GUI programming.

Lesson 2: Getting Started with the Iced GUI Framework

Get started with the Iced GUI framework. Create your first Iced application, a simple counter, while learning the basics of the library and its components.

Lesson 3: Building a Calculator with Iced

Build a functional calculator using Iced. Dive deeper into Iced’s architecture, implement calculator logic, and learn how to structure a more complex GUI application.

Week 2: Advanced Iced Concepts & Building a To-Do App

Lesson 1: Understanding Core Iced Components

Explore core Iced components in depth. Experiment with various UI elements, understand their properties and behaviors, and learn how to combine them effectively in your applications.

Lesson 2: Building a To-Do App with Iced

Develop a comprehensive to-do list application with Iced. Apply your knowledge to create a larger, more structured project, focusing on app organization and state management.

Week 3: Exploring Other Rust GUI Frameworks

Lesson 1: Introduction to FLTK & Building a Pong Game

Switch gears to the FLTK framework and build a Pong game. Learn FLTK basics, handle game logic and graphics, and implement features like speed control and high score tracking.

Lesson 2: Creating a Password Generator with GTK

Explore the GTK library by creating a password generator. Understand GTK’s widget system, event handling, and how to create a functional, user-friendly GUI application.

Week 4: Building Games & Quizzes with Realm & eGUI

Lesson 1: Creating a Simon Says Game with Relm4

Utilize Relm4 to build a Simon Says game. Learn about Relm4’s reactive programming model, manage game state, and create an interactive, engaging user interface.

Lesson 2: Building Quizzes with eGUI

Craft quiz applications using eGUI. Explore eGUI’s unique features, implement single and multi-quiz functionality, and gain experience with another versatile Rust GUI framework.

This article is from the free online

How to Master Rust GUI Programming

Created by
FutureLearn - Learning For Life

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now