Skip to content
0:00 / 0:00

#iced#gui#rust

Building a simple text editor with iced, a cross-platform GUI library for Rust

iced-rs

2K subscribers • 1 video on Hallway

YouTube
  • Recommended by 3 people: 3 in engineering communities.
  • Made by the vendor. The company whose product it covers made or sponsored it.
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

89K views3 years ago3 recommendations

Programming languagesGraphics and audioRustFlutter and React Native

A step-by-step tutorial on building a simple text editor using the Iced GUI library for Rust.

Learn the basics of iced—a cross-platform GUI library for Rust—and build a cool, simple text editor in the process! Introduction Initial setup Hello, iced! Multi-line text input The debug view Dark theme and cursor indicator Async file loading Native file picker File path tracking New and save interactions Font loading and custom icons Tooltips and styling Syntax highlighting Theme picker Subscriptions and save hotkey

Why it's here

3 people recommend this

What people say. Recommended as a helpful, hands-on tutorial for understanding how to build applications with Iced.

u/nobodyman617in r/rust • Recommends

On “Kicking around "What to use?" ideas within a rust application with an IDE ”

I like this video by the creator of iced, iteratively going through one of the examples.

u/pyroraptor07in r/rust • Recommends

On “Help me choose a GUI library”

If you're still willing to look at Iced, you might want to check out the work-in-progress mdbook if you haven't already and the "pocket guide" in the API docs. There's also this youtube tutorial by the maintainer; its a bit out of date (still uses the old sandbox API) but it might help with understanding the intended way of building Iced applications. There are also some more recent live-streams on that same youtube channel. If it works for you, you could also try using libcosmic by the System76 team. Its built on top of Iced and is what they are using for the Cosmic desktop. Its more opinionated, under heavy development, and uses their own fork of Iced (so it tends to lag behind the Iced…

u/jruzin r/rust • Recommends

On “I'd like to work on a World Processor, would Rust be a bad option for the task? It won't be terminal based btw. I was wondering if there were any crates I can use for this kind of interface. No code needed, just opinions.”

You can start with the iced tutorial link to this video