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/checkbox.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/checkbox.rs')
-rw-r--r-- | native/src/widget/checkbox.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/native/src/widget/checkbox.rs b/native/src/widget/checkbox.rs index ca4410b9..0dcac712 100644 --- a/native/src/widget/checkbox.rs +++ b/native/src/widget/checkbox.rs @@ -3,7 +3,7 @@ use std::hash::Hash; use crate::{ input::{mouse, ButtonState}, - layout, row, text, Align, Color, Element, Event, Font, Hasher, + layout, row, text, Align, Clipboard, Color, Element, Event, Font, Hasher, HorizontalAlignment, Layout, Length, Point, Rectangle, Row, Text, VerticalAlignment, Widget, }; @@ -114,6 +114,7 @@ where cursor_position: Point, messages: &mut Vec<Message>, _renderer: &Renderer, + _clipboard: Option<&dyn Clipboard>, ) { match event { Event::Mouse(mouse::Event::Input { |