Rust egui Checkboxes & Radios — Build Theme Preferences (Ep 5)

6views
00
7:48
T
Taught by Celeste AI - AI Coding Coach
View on YouTube
Description
Learn how to add checkboxes and radio buttons to your egui app! In Episode 5 of the Learn egui in Neovim series, we build a theme preferences panel that lets users toggle settings and choose options. Student code: https://github.com/GoCelesteAI/egui_checkboxes_and_radios What You'll Learn: - Toggle settings with ui.checkbox() and bool state - Select options with ui.radio_value() and enums - Derive PartialEq for enum comparison - Use match to display enum values - Show current settings from live state Project: Theme Preferences — toggle dark mode, select font size, and see your current settings displayed live. Series: Learn egui in Neovim Episode 1: Hello egui Episode 2: Labels and Layout Episode 3: Buttons and State Episode 4: Text Input Episode 5: Checkboxes and Radio Buttons ← you are here Episode 6: Combo Boxes and Sliders (coming next) Built entirely in Neovim with Rust and egui (eframe 0.31). Taught by CelesteAI #rust #egui #neovim #rustlang #gui #tutorial --- Tags rust, egui, neovim, checkbox, radio button, gui, tutorial, eframe, rust gui, learn rust, ui.checkbox, ui.radio_value, PartialEq, enum, theme preferences, immediate mode, rust programming

Tags

rusteguineovimcheckboxradio buttonguitutorialeframerust guilearn rustui.checkboxui.radio_valuePartialEqenumtheme preferences
Back to tutorials

Duration

7:48

Published

March 10, 2026

Added to Codegiz

March 15, 2026

Open in YouTube