pub fn configure_window(&self, window_id: &WindowId, x: u32, y: u32, width: u32, height: u32) {
        let values = [
            (xcb::CONFIG_WINDOW_X as u16, x),
            (xcb::CONFIG_WINDOW_Y as u16, y),
            (xcb::CONFIG_WINDOW_WIDTH as u16, width),
            (xcb::CONFIG_WINDOW_HEIGHT as u16, height),
        ];
        xcb::configure_window(&self.conn, window_id.to_x(), &values);
    }
/// Sets the window's position and size.
Sets the window's position and size.
Sets the window ' s position and size .
pub fn configure_window(&self, window_id: &WindowId, x: u32, y: u32, width: u32, height: u32) {
        let values = [
            (xcb::CONFIG_WINDOW_X as u16, x),
            (xcb::CONFIG_WINDOW_Y as u16, y),
            (xcb::CONFIG_WINDOW_WIDTH as u16, width),
            (xcb::CONFIG_WINDOW_HEIGHT as u16, height),
        ];
        xcb::configure_window(&self.conn, window_id.to_x(), &values);
    }
pub fn configure_window ( & self , window_id : & WindowId , x : u32 , y : u32 , width : u32 , height : u32 ) { let values = [ ( xcb :: CONFIG_WINDOW_X as u16 , x ) , ( xcb :: CONFIG_WINDOW_Y as u16 , y ) , ( xcb :: CONFIG_WINDOW_WIDTH as u16 , width ) , ( xcb :: CONFIG_WINDOW_HEIGHT as u16 , height ) , ] ; xcb :: configure_window ( & self . conn , window_id . to_x ( ) , & values ) ; }
Sets the window's position and size.
Sets the window ' s position and size .
&self
window_id
&WindowId
x
u32
y
u32
width
u32
height
u32