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

#[repr(C)]pub struct xcb_change_property_request_t {
    pub major_opcode: u8,
    pub mode: u8,
    pub length: u16,
    pub window: xcb_window_t,
    pub property: xcb_atom_t,
    pub type_: xcb_atom_t,
    pub format: u8,
    pub pad0: [u8; 3],
    pub data_len: u32,
}

Changes a window property

Sets or updates a property on the specified window. Properties are for example the window title (WM_NAME) or its minimum size (WM_NORMAL_HINTS). Protocols such as EWMH also use properties - for example EWMH defines the window title, encoded as UTF-8 string, in the _NET_WM_NAME property.

Fields

major_opcode: u8mode: u8
length: u16window: xcb_window_t

The window whose property you want to change.

property: xcb_atom_t

The property you want to change (an atom).

type_: xcb_atom_t

The type of the property you want to change (an atom).

format: u8

Specifies whether the data should be viewed as a list of 8-bit, 16-bit or 32-bit quantities. Possible values are 8, 16 and 32. This information allows the X server to correctly perform byte-swap operations as necessary.

pad0: [u8; 3]data_len: u32

Specifies the number of elements (see format).

Auto Trait Implementations

impl RefUnwindSafe for xcb_change_property_request_t

impl Send for xcb_change_property_request_t

impl Sync for xcb_change_property_request_t

impl Unpin for xcb_change_property_request_t

impl UnwindSafe for xcb_change_property_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, 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.