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.
Xサーバへの接続を指定。
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() は指定されたウィンドウに対して 定義されているアトムプロパティの配列へのポインタを返す。 プロパティが見つからなかった場合には NULL を返す。 この関数がアロケートしたメモリを解放するには XFree() を使うこと。

XListProperties() can generate a BadWindow error.
XListProperties() はエラー BadWindow を起こすことがある。

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, ch.tronche@computer.org