Struct xcb::x::ConfigureWindow
source · 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]
New values, corresponding to the attributes in value_mask. The order has to
correspond to the order of possible value_mask
bits. See the example.
Trait Implementations§
source§impl<'a> Clone for ConfigureWindow<'a>
impl<'a> Clone for ConfigureWindow<'a>
source§fn clone(&self) -> ConfigureWindow<'a>
fn clone(&self) -> ConfigureWindow<'a>
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<'a> Debug for ConfigureWindow<'a>
impl<'a> Debug for ConfigureWindow<'a>
source§impl<'a> RawRequest for ConfigureWindow<'a>
impl<'a> RawRequest for ConfigureWindow<'a>
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<'a> Request for ConfigureWindow<'a>
impl<'a> Request for ConfigureWindow<'a>
impl<'a> RequestWithoutReply for ConfigureWindow<'a>
Auto Trait Implementations§
impl<'a> Freeze for ConfigureWindow<'a>
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§
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
)