summaryrefslogtreecommitdiffstats
path: root/native/src/widget/row.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2019-12-19 17:43:25 +0100
committerLibravatar GitHub <noreply@github.com>2019-12-19 17:43:25 +0100
commit773a23630be538372d5dd1a609d654a1289be389 (patch)
treea53a42d424ce36dd26c24a5a03140458013956ad /native/src/widget/row.rs
parent9cf61fb82cb715ab0af15343be258b2b227d85f4 (diff)
parent8c8c5bb7665c1ac50d2ad355b06f1ea02dc5b4c2 (diff)
downloadiced-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/row.rs')
-rw-r--r--native/src/widget/row.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/native/src/widget/row.rs b/native/src/widget/row.rs
index c854aff7..3de65deb 100644
--- a/native/src/widget/row.rs
+++ b/native/src/widget/row.rs
@@ -2,7 +2,8 @@
use std::hash::Hash;
use crate::{
- layout, Align, Element, Event, Hasher, Layout, Length, Point, Widget,
+ layout, Align, Clipboard, Element, Event, Hasher, Layout, Length, Point,
+ Widget,
};
use std::u32;
@@ -154,6 +155,7 @@ where
cursor_position: Point,
messages: &mut Vec<Message>,
renderer: &Renderer,
+ clipboard: Option<&dyn Clipboard>,
) {
self.children.iter_mut().zip(layout.children()).for_each(
|(child, layout)| {
@@ -163,6 +165,7 @@ where
cursor_position,
messages,
renderer,
+ clipboard,
)
},
);