summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-04-02 03:29:46 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-04-02 03:44:14 +0200
commit703f7657e15234554afb5c62fafed6fd4f8d1d03 (patch)
treec1281b3b7f366cfeb09d26c993f44d10eee88ec0 /native
parentc114be034a1f35a83b044c0b18f0359165db8c15 (diff)
downloadiced-703f7657e15234554afb5c62fafed6fd4f8d1d03.tar.gz
iced-703f7657e15234554afb5c62fafed6fd4f8d1d03.tar.bz2
iced-703f7657e15234554afb5c62fafed6fd4f8d1d03.zip
Add example to `pane_grid` module documentation
Diffstat (limited to 'native')
-rw-r--r--native/src/widget/pane_grid.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/native/src/widget/pane_grid.rs b/native/src/widget/pane_grid.rs
index ccb46571..f6dd328e 100644
--- a/native/src/widget/pane_grid.rs
+++ b/native/src/widget/pane_grid.rs
@@ -1,6 +1,13 @@
//! Let your users split regions of your application and organize layout dynamically.
//!
//! [![Pane grid - Iced](https://thumbs.gfycat.com/MixedFlatJellyfish-small.gif)](https://gfycat.com/mixedflatjellyfish)
+//!
+//! # Example
+//! The [`pane_grid` example] showcases how to use a [`PaneGrid`] with resizing,
+//! drag and drop, and hotkey support.
+//!
+//! [`pane_grid` example]: https://github.com/hecrj/iced/tree/0.1/examples/pane_grid
+//! [`PaneGrid`]: struct.PaneGrid.html
mod axis;
mod direction;
mod node;