Struct xcb::x::ConfigureWindow [−][src]
pub struct ConfigureWindow<'a> {
pub window: Window,
pub value_list: &'a [ConfigWindow],
}
Expand description
Configures window attributes
Configures a window’s size, position, border width and stacking order.
Example
// Configures the given window to the left upper corner
// with a size of 1024x768 pixels.
conn.send_request(&x::ConfigureWindow {
window,
value_list: &[
x::ConfigWindow::X(0),
x::ConfigWindow::Y(0),
x::ConfigWindow::Width(0),
x::ConfigWindow::Height(0),
],
});
conn.flush()?;
This request has no reply.
Associated cookie types are VoidCookie and VoidCookieChecked.
Fields
window: Window
The window to configure.
value_list: &'a [ConfigWindow]
Trait Implementations
Actual implementation of the request sending Read more
type Cookie = VoidCookie
type Cookie = VoidCookie
The default cookie associated to this request.
Auto Trait Implementations
impl<'a> RefUnwindSafe for ConfigureWindow<'a>
impl<'a> Send for ConfigureWindow<'a>
impl<'a> Sync for ConfigureWindow<'a>
impl<'a> Unpin for ConfigureWindow<'a>
impl<'a> UnwindSafe for ConfigureWindow<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more