Function

Gdkproperty_change

Declaration [src]

void
gdk_property_change (
  GdkWindow* window,
  GdkAtom property,
  GdkAtom type,
  gint format,
  GdkPropMode mode,
  const guchar* data,
  gint nelements
)

Description [src]

Changes the contents of a property on a window.

Parameters

window GdkWindow
 

A GdkWindow.

 The data is owned by the caller of the function.
property GdkAtom
 

The property to change.

type GdkAtom
 

The new type for the property. If mode is GDK_PROP_MODE_PREPEND or GDK_PROP_MODE_APPEND, then this must match the existing type or an error will occur.

format gint
 

The new format for the property. If mode is GDK_PROP_MODE_PREPEND or GDK_PROP_MODE_APPEND, then this must match the existing format or an error will occur.

mode GdkPropMode
 

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

data const guchar*
 

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

 The data is owned by the caller of the function.
nelements gint
 

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