Build a Counter App in Rust egui — Buttons and State (Ep 3)
17views
008:21
T
Taught by Celeste AI - AI Coding Coach
View on YouTubeDescription
Make your egui app interactive! In this episode, we build a counter app with clickable buttons. Learn ui.button() for creating
buttons, .clicked() for detecting presses, ui.horizontal() for side-by-side layout, and mutable state in your App struct. We
also split code into two files with mod and use.
Student code: https://github.com/GoCelesteAI/egui_buttons_and_state
Timestamps:
0:00 Intro
0:12 What We're Building
0:22 Preview
0:54 Writing the Code
6:10 App Demo
6:40 Recap
7:20 Outro
Tags: rust, egui, gui, desktop app, neovim, neo-tree, tutorial, beginner, eframe, rust gui, button, clicked, state, horizontal,
counter
Tags
rusteguiguidesktop appneovimneo-treetutorialbeginnereframerust guibuttonclickedstatehorizontalcounter