Struct xcb::x::SetSelectionOwner
source · [−]Expand description
Sets the owner of a selection
Makes window
the owner of the selection selection
and updates the
last-change time of the specified selection.
TODO: briefly explain what a selection is.
This request has no reply.
Associated cookie types are VoidCookie and VoidCookieChecked.
Fields
owner: Window
The new owner of the selection.
The special value XCB_NONE
means that the selection will have no owner.
selection: Atom
The selection.
time: Timestamp
Timestamp to avoid race conditions when running X over the network.
The selection will not be changed if time
is earlier than the current
last-change time of the selection
or is later than the current X server time.
Otherwise, the last-change time is set to the specified time.
The special value XCB_CURRENT_TIME
will be replaced with the current server
time.
Trait Implementations
sourceimpl Clone for SetSelectionOwner
impl Clone for SetSelectionOwner
sourcefn clone(&self) -> SetSelectionOwner
fn clone(&self) -> SetSelectionOwner
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SetSelectionOwner
impl Debug for SetSelectionOwner
sourceimpl RawRequest for SetSelectionOwner
impl RawRequest for SetSelectionOwner
sourcefn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
sourceimpl Request for SetSelectionOwner
impl Request for SetSelectionOwner
type Cookie = VoidCookie
type Cookie = VoidCookie
The default cookie associated to this request.
impl RequestWithoutReply for SetSelectionOwner
Auto Trait Implementations
impl RefUnwindSafe for SetSelectionOwner
impl Send for SetSelectionOwner
impl Sync for SetSelectionOwner
impl Unpin for SetSelectionOwner
impl UnwindSafe for SetSelectionOwner
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more