XListProperties

Syntax

Atom *XListProperties(display, w, num_prop_return)
      Display *display;
      Window w;
      int *num_prop_return;

Arguments

display Specifies the connection to the X server.
w Specifies the window whose property list you want to obtain.
num_prop_return Returns the length of the properties array.

Description

The XListProperties() function returns a pointer to an array of atom properties that are defined for the specified window or returns NULL if no properties were found. To free the memory allocated by this function, use XFree().

XListProperties() can generate a BadWindow error.

Diagnostics

BadWindow A value for a Window argument does not name a defined Window.

See also

XChangeProperty(), XDeleteProperty(), XGetWindowProperty(), XRotateWindowProperties(), "Obtaining and Changing Window Properties"
Christophe Tronche, [email protected]