NAME
Synopsis
Display *display;
Window w;
XTextProperty *text_prop;
Arguments
displaySpecifies a connection to an X server; returned from XOpenDisplay().
wSpecifies the window.
text_propSpecifies the XTextProperty structure to be used.
Availability
Release 4 and later.
Description
performs an XSetTextProperty() to set the XA_WM_ICON_NAME property of the specified window. This is usually called by an application to set the property for the window manager. The name should be short, since it is to be displayed in association with an icon. XSetStandardProperties() (in Release 5) or XSetWMProperties() (in Release 4 and Release 5) also set this property. For more information, see Volume One, Chapter 10, Interclient Communication.
Structures
typedef struct {
unsigned char *value; /* same as Property routines */
Atom encoding; /* prop type */
int format; /* prop data format: 8, 16, or 32 */
unsigned long nitems; /* number of data items in value */
} XTextProperty;
See Also
XSetWMProperties().
—