From 6151c528241d0a6ece88e6e664df1b50f8174ecb Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 10 Mar 2020 02:57:13 +0100 Subject: Rename `Panes` widget to `PaneGrid` --- examples/pane_grid/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 examples/pane_grid/README.md (limited to 'examples/pane_grid/README.md') diff --git a/examples/pane_grid/README.md b/examples/pane_grid/README.md new file mode 100644 index 00000000..4d9fc5b9 --- /dev/null +++ b/examples/pane_grid/README.md @@ -0,0 +1,18 @@ +## Counter + +The classic counter example explained in the [`README`](../../README.md). + +The __[`main`]__ file contains all the code of the example. + +
+ + + +
+ +You can run it with `cargo run`: +``` +cargo run --package counter +``` + +[`main`]: src/main.rs -- cgit From 858c086eeee4284a5a7b3e49cb3c112d204e53c3 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 14 Mar 2020 03:39:20 +0100 Subject: Remove `pane_grid` example for now It's too contrived. I will work on something simpler. --- examples/pane_grid/README.md | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 examples/pane_grid/README.md (limited to 'examples/pane_grid/README.md') diff --git a/examples/pane_grid/README.md b/examples/pane_grid/README.md deleted file mode 100644 index 4d9fc5b9..00000000 --- a/examples/pane_grid/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## Counter - -The classic counter example explained in the [`README`](../../README.md). - -The __[`main`]__ file contains all the code of the example. - -
- - - -
- -You can run it with `cargo run`: -``` -cargo run --package counter -``` - -[`main`]: src/main.rs -- cgit From 56ba6215a25fe90a50be8feebeb74031967e92b0 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 17 Mar 2020 04:23:28 +0100 Subject: Add simple `pane_grid` example --- examples/pane_grid/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 examples/pane_grid/README.md (limited to 'examples/pane_grid/README.md') diff --git a/examples/pane_grid/README.md b/examples/pane_grid/README.md new file mode 100644 index 00000000..4d9fc5b9 --- /dev/null +++ b/examples/pane_grid/README.md @@ -0,0 +1,18 @@ +## Counter + +The classic counter example explained in the [`README`](../../README.md). + +The __[`main`]__ file contains all the code of the example. + +
+ + + +
+ +You can run it with `cargo run`: +``` +cargo run --package counter +``` + +[`main`]: src/main.rs -- cgit From eba2ded88a92479bee93b727b31f5f84899339cf Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 18 Mar 2020 06:35:55 +0100 Subject: Update `README` of examples --- examples/pane_grid/README.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'examples/pane_grid/README.md') diff --git a/examples/pane_grid/README.md b/examples/pane_grid/README.md index 4d9fc5b9..3653fc5b 100644 --- a/examples/pane_grid/README.md +++ b/examples/pane_grid/README.md @@ -1,18 +1,28 @@ -## Counter +## Pane grid -The classic counter example explained in the [`README`](../../README.md). +A grid of panes that can be split, resized, and reorganized. + +This example showcases the `PaneGrid` widget, which features: + +* Vertical and horizontal splits +* Tracking of the last active pane +* Mouse-based resizing +* Drag and drop to reorganize panes +* Hotkey support +* Configurable modifier keys +* API to perform actions programmatically (`split`, `swap`, `resize`, etc.) The __[`main`]__ file contains all the code of the example.
- - + +
You can run it with `cargo run`: ``` -cargo run --package counter +cargo run --package pane_grid ``` [`main`]: src/main.rs -- cgit