XGetWMIconName

Syntax

Status XGetWMIconName(display, w, text_prop_return)
      Display *display;
      Window w;
      XTextProperty *text_prop_return;

Arguments

display Specifies the connection to the X server.
w Specifies the window.
text_prop_return Returns the XTextProperty structure.

Description

The XGetWMIconName() convenience function calls XGetTextProperty() to obtain the WM_ICON_NAME property. It returns a nonzero status on success; otherwise, it returns a zero status.

See also

XAllocClassHint(), XAllocIconSize(), XAllocSizeHints(), XAllocWMHints(), XFree(), XGetIconName(), XGetWMIconName(), XSetCommand(), XSetIconName(), XSetTextProperty(), XSetTransientForHint(), XSetWMClientMachine(), XSetWMColormapWindows(), XSetWMName(), XSetWMProperties(), XSetWMProtocols(), XStringListToTextProperty(), "Setting and Reading the WM_ICON_NAME Property"
Christophe Tronche, [email protected]