Struct xcb::x::ReparentWindow
source · pub struct ReparentWindow {
pub window: Window,
pub parent: Window,
pub x: i16,
pub y: i16,
}
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§
source§impl Clone for ReparentWindow
impl Clone for ReparentWindow
source§fn clone(&self) -> ReparentWindow
fn clone(&self) -> ReparentWindow
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReparentWindow
impl Debug for ReparentWindow
source§impl RawRequest for ReparentWindow
impl RawRequest for ReparentWindow
source§fn 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
source§impl Request for ReparentWindow
impl Request for ReparentWindow
impl RequestWithoutReply for ReparentWindow
Auto Trait Implementations§
impl Freeze for ReparentWindow
impl RefUnwindSafe for ReparentWindow
impl Send for ReparentWindow
impl Sync for ReparentWindow
impl Unpin for ReparentWindow
impl UnwindSafe for ReparentWindow
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)