Struct xcb::ffi::xproto::xcb_reparent_window_request_t[][src]

#[repr(C)]pub struct xcb_reparent_window_request_t {
    pub major_opcode: u8,
    pub pad0: u8,
    pub length: u16,
    pub window: xcb_window_t,
    pub parent: xcb_window_t,
    pub x: i16,
    pub y: i16,
}

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.

Fields

major_opcode: u8pad0: u8length: u16window: xcb_window_t

The window to reparent.

parent: xcb_window_t

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

impl Clone for xcb_reparent_window_request_t[src]

impl Copy for xcb_reparent_window_request_t[src]

Auto Trait Implementations

impl RefUnwindSafe for xcb_reparent_window_request_t

impl Send for xcb_reparent_window_request_t

impl Sync for xcb_reparent_window_request_t

impl Unpin for xcb_reparent_window_request_t

impl UnwindSafe for xcb_reparent_window_request_t

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.