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/button.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/button.rs')
-rw-r--r-- | native/src/widget/button.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/native/src/widget/button.rs b/native/src/widget/button.rs index 67b49dc6..2881105f 100644 --- a/native/src/widget/button.rs +++ b/native/src/widget/button.rs @@ -6,8 +6,8 @@ //! [`State`]: struct.State.html use crate::{ input::{mouse, ButtonState}, - layout, Background, Element, Event, Hasher, Layout, Length, Point, - Rectangle, Widget, + layout, Background, Clipboard, Element, Event, Hasher, Layout, Length, + Point, Rectangle, Widget, }; use std::hash::Hash; @@ -192,6 +192,7 @@ where cursor_position: Point, messages: &mut Vec<Message>, _renderer: &Renderer, + _clipboard: Option<&dyn Clipboard>, ) { match event { Event::Mouse(mouse::Event::Input { |