taut’s documents
Overview: the front page.
The book
A tutorial in ten chapters.
- A first window: a window with a button, and what happens inside.
- Boxes and layout: rows, columns, grids, sizes, scrolling, layers.
- Parts and state: who keeps what, ids and keys, custom parts.
- A real small app: a to-do list kept in a file.
- Larger parts: tables, lists, trees, menus, dialogs, panels, docks, windows, tray, charts, drag and drop.
- Text and pictures: fonts, scripts, emoji, pictures, SVG, shapes, 3D scenes, PDF and printing.
- Everyone can use it: keyboard, screen readers, themes, sizes, contrast.
- Testing: driving a window with no screen in
cargo test. - Inside another program: as a texture, under Direct3D 11 or OpenGL, in a DLL, as a whole screen.
- Coming from egui or Dear ImGui: what differs, and the usual calls side by side.
Every Rust block in the book is compiled by cargo test. Each picture is drawn from the code
above it by examples/book.rs
(cargo run -p taut --features emoji --example book -- docs/pictures), on Windows 11.
Reference
- The guide: every call on one page; also on docs.rs as
taut::guide. - The API on docs.rs: each item marked with the system and feature it needs.
Details
- What is in it: every feature, by area.
- What is missing: known gaps and limits.
- Costs and speed: sizes, memory, feature costs, benchmarks.
- How it is tested.
- Inside other programs: renderers and DLLs, in short.
- Beside other libraries: Rust GUI libraries, and Dear ImGui part by part.