diff options
author | 2020-03-20 12:10:52 +0100 | |
---|---|---|
committer | 2020-03-20 12:10:52 +0100 | |
commit | f7ec679fec1b69c6dc5bc12d60627629f086bf22 (patch) | |
tree | 58ec4dd11e50f11ef85b972fee211930e7a0e7c0 /examples/pane_grid/README.md | |
parent | 93f5640a2dc06d8f1bf2b0d033d45c62f8985380 (diff) | |
parent | fb744a338c1b7566a3db9a3d24c03729b4858217 (diff) | |
download | iced-f7ec679fec1b69c6dc5bc12d60627629f086bf22.tar.gz iced-f7ec679fec1b69c6dc5bc12d60627629f086bf22.tar.bz2 iced-f7ec679fec1b69c6dc5bc12d60627629f086bf22.zip |
Merge pull request #224 from hecrj/feature/panes-widget
Pane grid widget
Diffstat (limited to '')
-rw-r--r-- | examples/pane_grid/README.md | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/examples/pane_grid/README.md b/examples/pane_grid/README.md new file mode 100644 index 00000000..3653fc5b --- /dev/null +++ b/examples/pane_grid/README.md @@ -0,0 +1,28 @@ +## Pane grid + +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/mixedflatjellyfish"> + <img src="https://thumbs.gfycat.com/MixedFlatJellyfish-small.gif"> + </a> +</div> + +You can run it with `cargo run`: +``` +cargo run --package pane_grid +``` + +[`main`]: src/main.rs |