Struct x11_clipboard::Clipboard
[−]
[src]
pub struct Clipboard { pub getter: Context, pub setter: Arc<Context>, // some fields omitted }
X11 Clipboard
Fields
getter: Context
setter: Arc<Context>
Methods
impl Clipboard
[src]
fn new() -> Result<Self>
[src]
Create Clipboard.
fn load<T>(
&self,
selection: Atom,
target: Atom,
property: Atom,
timeout: T
) -> Result<Vec<u8>> where
T: Into<Option<Duration>>,
[src]
&self,
selection: Atom,
target: Atom,
property: Atom,
timeout: T
) -> Result<Vec<u8>> where
T: Into<Option<Duration>>,
load value.
fn store<T: Into<Vec<u8>>>(
&self,
selection: Atom,
target: Atom,
value: T
) -> Result<()>
[src]
&self,
selection: Atom,
target: Atom,
value: T
) -> Result<()>
store value.