summaryrefslogtreecommitdiffstats
path: root/examples/pane_grid
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-03-17 07:28:28 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-03-17 07:30:05 +0100
commit05beb878527b4d4e3141ca5ba09337d6ada858be (patch)
treed95ab2be4be002618eb054c61007b2ab661cd164 /examples/pane_grid
parent1cd1582506810255394d2f9019597e9252bd8daa (diff)
downloadiced-05beb878527b4d4e3141ca5ba09337d6ada858be.tar.gz
iced-05beb878527b4d4e3141ca5ba09337d6ada858be.tar.bz2
iced-05beb878527b4d4e3141ca5ba09337d6ada858be.zip
Move common keyboard types to `iced_core`
Also expose them in `iced` through `iced_native` and `iced_web`.
Diffstat (limited to 'examples/pane_grid')
-rw-r--r--examples/pane_grid/Cargo.toml1
-rw-r--r--examples/pane_grid/src/main.rs6
2 files changed, 3 insertions, 4 deletions
diff --git a/examples/pane_grid/Cargo.toml b/examples/pane_grid/Cargo.toml
index fb160a8d..3ed912ac 100644
--- a/examples/pane_grid/Cargo.toml
+++ b/examples/pane_grid/Cargo.toml
@@ -7,4 +7,3 @@ publish = false
[dependencies]
iced = { path = "../.." }
-iced_native = { path = "../../native" }
diff --git a/examples/pane_grid/src/main.rs b/examples/pane_grid/src/main.rs
index 461ffc30..9e6283ab 100644
--- a/examples/pane_grid/src/main.rs
+++ b/examples/pane_grid/src/main.rs
@@ -1,8 +1,8 @@
use iced::{
- button, pane_grid, scrollable, Align, Button, Column, Container, Element,
- HorizontalAlignment, Length, PaneGrid, Sandbox, Scrollable, Settings, Text,
+ button, keyboard, pane_grid, scrollable, Align, Button, Column, Container,
+ Element, HorizontalAlignment, Length, PaneGrid, Sandbox, Scrollable,
+ Settings, Text,
};
-use iced_native::input::keyboard;
pub fn main() {
Example::run(Settings::default())