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: u8
mode: u8
length: u16
window: 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
).