diff options
author | 2019-12-19 17:43:25 +0100 | |
---|---|---|
committer | 2019-12-19 17:43:25 +0100 | |
commit | 773a23630be538372d5dd1a609d654a1289be389 (patch) | |
tree | a53a42d424ce36dd26c24a5a03140458013956ad /native/src/widget.rs | |
parent | 9cf61fb82cb715ab0af15343be258b2b227d85f4 (diff) | |
parent | 8c8c5bb7665c1ac50d2ad355b06f1ea02dc5b4c2 (diff) | |
download | iced-773a23630be538372d5dd1a609d654a1289be389.tar.gz iced-773a23630be538372d5dd1a609d654a1289be389.tar.bz2 iced-773a23630be538372d5dd1a609d654a1289be389.zip |
Merge pull request #132 from hecrj/feature/read-clipboard
Clipboard access
Diffstat (limited to 'native/src/widget.rs')
-rw-r--r-- | native/src/widget.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/native/src/widget.rs b/native/src/widget.rs index ee7232cb..26889280 100644 --- a/native/src/widget.rs +++ b/native/src/widget.rs @@ -24,12 +24,12 @@ pub mod button; pub mod checkbox; pub mod column; pub mod container; -pub mod svg; pub mod image; pub mod radio; pub mod row; pub mod scrollable; pub mod slider; +pub mod svg; pub mod text; pub mod text_input; @@ -58,7 +58,7 @@ pub use text::Text; #[doc(no_inline)] pub use text_input::TextInput; -use crate::{layout, Event, Hasher, Layout, Length, Point}; +use crate::{layout, Clipboard, Event, Hasher, Layout, Length, Point}; /// A component that displays information and allows interaction. /// @@ -142,6 +142,7 @@ where _cursor_position: Point, _messages: &mut Vec<Message>, _renderer: &Renderer, + _clipboard: Option<&dyn Clipboard>, ) { } } |