Struct xcb::x::ReparentWindow
source · [−]Expand description
Reparents a window
Makes the specified window a child of the specified parent window. If the window is mapped, it will automatically be unmapped before reparenting and re-mapped after reparenting. The window is placed in the stacking order on top with respect to sibling windows.
After reparenting, a ReparentNotify event is generated.
This request has no reply.
Associated cookie types are VoidCookie and VoidCookieChecked.
Fields
window: Window
The window to reparent.
parent: Window
The new parent of the window.
x: i16
The X position of the window within its new parent.
y: i16
The Y position of the window within its new parent.
Trait Implementations
sourceimpl Clone for ReparentWindow
impl Clone for ReparentWindow
sourcefn clone(&self) -> ReparentWindow
fn clone(&self) -> ReparentWindow
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 ReparentWindow
impl Debug for ReparentWindow
sourceimpl RawRequest for ReparentWindow
impl RawRequest for ReparentWindow
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 ReparentWindow
impl Request for ReparentWindow
type Cookie = VoidCookie
type Cookie = VoidCookie
The default cookie associated to this request.
impl RequestWithoutReply for ReparentWindow
Auto Trait Implementations
impl RefUnwindSafe for ReparentWindow
impl Send for ReparentWindow
impl Sync for ReparentWindow
impl Unpin for ReparentWindow
impl UnwindSafe for ReparentWindow
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