summaryrefslogtreecommitdiffstats
path: root/examples/pane_grid
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-03-18 06:35:55 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-03-18 06:35:55 +0100
commiteba2ded88a92479bee93b727b31f5f84899339cf (patch)
treea40180eeb9b9161a066e3a5af2dfbc55efc9332d /examples/pane_grid
parent36abf7457fdc5a50b53f7e9ae63b978f07fbcda4 (diff)
downloadiced-eba2ded88a92479bee93b727b31f5f84899339cf.tar.gz
iced-eba2ded88a92479bee93b727b31f5f84899339cf.tar.bz2
iced-eba2ded88a92479bee93b727b31f5f84899339cf.zip
Update `README` of examples
Diffstat (limited to 'examples/pane_grid')
-rw-r--r--examples/pane_grid/README.md20
1 files changed, 15 insertions, 5 deletions
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.
<div align="center">
- <a href="https://gfycat.com/fairdeadcatbird">
- <img src="https://thumbs.gfycat.com/FairDeadCatbird-small.gif">
+ <a href="https://gfycat.com/mixedflatjellyfish">
+ <img src="https://thumbs.gfycat.com/MixedFlatJellyfish-small.gif">
</a>
</div>
You can run it with `cargo run`:
```
-cargo run --package counter
+cargo run --package pane_grid
```
[`main`]: src/main.rs