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

#[repr(C)]
pub struct xcb_get_property_request_t {
    pub major_opcode: u8,
    pub delete: u8,
    pub length: u16,
    pub window: xcb_window_t,
    pub property: xcb_atom_t,
    pub type_: xcb_atom_t,
    pub long_offset: u32,
    pub long_length: u32,
}

Gets a window property

Gets the specified property from 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.

TODO: talk about type

TODO: talk about delete

TODO: talk about the offset/length thing. what's a valid use case?

Fields

major_opcode: u8delete: u8

Whether the property should actually be deleted. For deleting a property, the specified type has to match the actual property type.

length: u16window: xcb_window_t

The window whose property you want to get.

property: xcb_atom_t

The property you want to get (an atom).

type_: xcb_atom_t

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

long_offset: u32

Specifies the offset (in 32-bit multiples) in the specified property where the data is to be retrieved.

long_length: u32

Specifies how many 32-bit multiples of data should be retrieved (e.g. if you set long_length to 4, you will receive 16 bytes of data).

Trait Implementations

impl Clone for xcb_get_property_request_t[src]

impl Copy for xcb_get_property_request_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]