Skip to content

Commit

Permalink
Reorder and rename tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
PoignardAzur committed Oct 22, 2024
1 parent 16d8acc commit a2e4329
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 9 deletions.
2 changes: 2 additions & 0 deletions masonry/src/doc/02_implementing_widget.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Creating a new Widget

**TODO - Add screenshots - see [#501](https://github.com/linebender/xilem/issues/501)**

If you're building your own GUI framework on top of Masonry, or even a GUI app with specific needs, you'll probably want to specify your own widgets.

This document explains how.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Container widgets
# Creating a container Widget

**TODO - Add screenshots - see [#501](https://github.com/linebender/xilem/issues/501)**

In the previous section we implemented a simple widget.
Our widget was overall pretty simple, the tutorial skipped over a few methods with a "we'll explain later" handwave.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
29 changes: 21 additions & 8 deletions masonry/src/doc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,27 @@ pub mod doc_01_creating_app {}
#[doc = include_str!("./02_implementing_widget.md")]
pub mod doc_02_implementing_widget {}

#[doc = include_str!("./02b_implementing_container_widgets.md")]
pub mod doc_02b_implementing_container_widgets {}
#[doc = include_str!("./03_implementing_container_widget.md")]
pub mod doc_03_implementing_container_widget {}

#[doc = include_str!("./03_masonry_concepts.md")]
pub mod doc_03_masonry_concepts {}
#[doc = include_str!("./04_testing_widget.md")]
pub mod doc_04_testing_widget {}

#[doc = include_str!("./04_pass_system.md")]
pub mod doc_04_pass_system {}
#[doc = include_str!("./05_pass_system.md")]
pub mod doc_05_pass_system {}

#[doc = include_str!("./05_testing_widgets.md")]
pub mod doc_05_testing_widgets {}
#[doc = include_str!("./06_masonry_concepts.md")]
pub mod doc_06_masonry_concepts {}

/*
> ls masonry/src/doc -1
01_creating_app.md
02_implementing_widget.md
03_implementing_container_widget.md
04_testing_widget.md
05_pass_system.md
06_masonry_concepts.md
mod.rs
*/

0 comments on commit a2e4329

Please sign in to comment.