XSetIconName

Syntax

XSetIconName(display, w, icon_name)
      Display *display;
      Window w;
      char *icon_name;

Arguments

display Specifies the connection to the X server.
w Specifies the window.
icon_name Specifies the icon name, which should be a null-terminated string.

Description

If the string is not in the Host Portable Character Encoding, the result is implementation dependent. XSetIconName() can generate BadAlloc and BadWindow errors.

Diagnostics

BadAlloc The server failed to allocate the requested source or server memory.
BadWindow A value for a Window argument does not name a defined Window.

See also

XAllocClassHint(), XAllocIconSize(), XAllocSizeHints(), XAllocWMHints(), XFree(), XGetIconName(), XGetWMIconName(), XSetCommand(), XSetTextProperty(), XSetTransientForHint(), XSetWMClientMachine(), XSetWMColormapWindows(), XSetWMIconName(), XSetWMName(), XSetWMProperties(), XSetWMProtocols(), XStringListToTextProperty(), "Setting and Reading the WM_ICON_NAME Property"
Christophe Tronche, ch@tronche.com