Function gdk::property_change[][src]

pub fn property_change(
    window: &Window,
    property: &Atom,
    type_: &Atom,
    format: i32,
    mode: PropMode,
    data: ChangeData<'_>
)
Expand description

Changes the contents of a property on a window.

window

a Window

property

the property to change

type_

the new type for the property. If mode is PropMode::Prepend or PropMode::Append, then this must match the existing type or an error will occur.

format

the new format for the property. If mode is PropMode::Prepend or PropMode::Append, then this must match the existing format or an error will occur.

mode

a value describing how the new data is to be combined with the current data.

data

the data (a guchar * gushort *, or gulong *, depending on format), cast to a guchar *.

nelements

the number of elements of size determined by the format, contained in data.