Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XGetWMIcon(3x) — HP-UX 9.05

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

Synopsis

   Display *display;
   Window w;
   XTextProperty *text_prop_return;

Arguments

displaySpecifies a connection to an X server; returned from XOpenDisplay(). 

wSpecifies the window. 

text_prop_return
Returns the XTextProperty structure. 

Availability

Release 4 and later. 

Description

performs an XGetTextProperty() on the XA_WM_ICON_NAME property of the specified window.  This function is primarily used by window managers to get the name to be written in a window’s icon when they need to display that icon.  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(). 

  —  

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026