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