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.

This function is not directly available to language bindings

Parameters

window

Type: GdkWindow

A GdkWindow.

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

Type: GdkAtom

The property to change.

type

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

Type: 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

Type: GdkPropMode

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

data

Type: 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

Type: gint

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