XSetIconName(3)


HOME

XSetWMIconName

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
PROPERTIES
DIAGNOSTICS
SEE ALSO

NAME

XSetWMIconName, XGetWMIconName, XSetIconName, XGetIconName − set or read a window’s WM_ICON_NAME property

SYNTAX

void XSetWMIconName(Display *display, Window w, XTextProperty *text_prop);

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

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

Status XGetIconName(Display *display, Window w, char **icon_name_return);

ARGUMENTS

display

Specifies the connection to the X server.

icon_name

Specifies the icon name, which should be a null-terminated string.

icon_name_return

Returns the window’s icon name, which is a null-terminated string.

text_prop

Specifies the XTextProperty structure to be used.

text_prop_return

Returns the XTextProperty structure.

w

Specifies the window.

DESCRIPTION

The XSetWMIconName convenience function calls XSetTextProperty to set the WM_ICON_NAME property.

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.

The XSetIconName function sets the name to be displayed in a window’s icon.

XSetIconName can generate BadAlloc and BadWindow errors.

The XGetIconName function returns the name to be displayed in the specified window’s icon. If it succeeds, it returns a nonzero status; otherwise, if no icon name has been set for the window, it returns zero. If you never assigned a name to the window, XGetIconName sets icon_name_return to NULL. If the data returned by the server is in the Latin Portable Character Encoding, then the returned string is in the Host Portable Character Encoding. Otherwise, the result is implementation-dependent. When finished with it, a client must free the icon name string using XFree.

XGetIconName can generate a BadWindow error.

PROPERTIES

WM_ICON_NAME

The name to be used in an icon.

DIAGNOSTICS

BadAlloc

The server failed to allocate the requested resource or server memory.

BadWindow

A value for a Window argument does not name a defined Window.

SEE ALSO

XAllocClassHint(3), XAllocIconSize(3), XAllocSizeHints(3), XAllocWMHints(3), XFree(3), XSetCommand(3), XSetTransientForHint(3), XSetTextProperty(3), XSetWMClientMachine(3), XSetWMColormapWindows(3), XSetWMName(3), XSetWMProperties(3), XSetWMProtocols(3), XStringListToTextProperty(3)
Xlib − C Language X Interface



More Linux Commands

manpages/NetSNMP::ASN.3pm.html
NetSNMP::ASN(3pm) - Perl extension for SNMP ASN.1 types.....
The NetSNMP::ASN module provides the ASN .1 types for SNMP . EXPORT None by default. Exportable constants ASN_APPLICATION ASN_BIT_STR ASN_BOOLEAN ASN_COUNTER AS

manpages/gnutls_pkcs11_set_token_function.3.html
gnutls_pkcs11_set_token_function(3) - API function (ManPage)
This function will set a callback function to be used when a token needs to be inserted to continue PKCS 11 operations. SINCE 2.12.0 REPORTING BUGS Report bugs

manpages/Tcl_NewByteArrayObj.3.html
Tcl_NewByteArrayObj(3) - manipulate Tcl objects as a arrays
These procedures are used to create, modify, and read Tcl byte-array objects from C code. Byte-array objects are typically used to hold the results of binary IO

manpages/autom4te.1.html
autom4te(1) - Generate files and scripts thanks to M4.......
Run GNU M4 on the FILES, avoiding useless runs. Output the traces if tracing, the frozen file if freezing, otherwise the expansion of the FILES. If some of the

manpages/dysize.3.html
dysize(3) - get number of days for a given year (Man Page)
The function returns 365 for a normal year and 366 for a leap year. The calculation for leap year is based on: (year) %4 == 0 && ((year) %100 != 0 || (year) %40

manpages/XScreenSaverSetAttributes.3.html
XScreenSaverSetAttributes(3) - X11 Screen Saver extension cl
The X Window System provides support for changing the image on a display screen after a user-settable period of inactivity to avoid burning the cathode ray tube

manpages/incoming.conf.5.html
incoming.conf(5) - Configuration of incoming news feeds.....
The file pathetc/incoming.conf consists of three types of entries: key/value, peer and group. Comments are from the hash character # to the end of the line. Bla

manpages/Archive::Tar::File.3pm.html
Archive::Tar::File(3pm) - a subclass for in-memory extracted
Archive::Tar::Files provides a neat little object layer for in-memory extracted files. Its mostly used internally in Archive::Tar to tidy up the code, but there

manpages/exp10f.3.html
exp10f(3) - base-10 exponential function - Linux man page...
The exp10() function returns the value of 10 raised to the power of x. RETURN VALUE On success, these functions return the base-10 exponential value of x. For v

manpages/Mail::SPF::Mech::Include.3pm.html
Mail::SPF::Mech::Include(3pm) - SPF record "include" mechani
An object of class Mail::SPF::Mech::Include represents an SPF record mechanism of type include. Constructors The following constructors are provided: new(%optio

manpages/gimprc.5.html
gimprc(5) - gimp configuration file - Linux manual page.....
The gimprc file is a configuration file read by GIMP when it starts up. There are two of these: one system-wide one stored in /etc/gimp/2.0/gimprc and a per-use

manpages/pnmtoplainpnm.1.html
pnmtoplainpnm(1) - replaced by pnmtopnm - Linux manual page
This program is part of Netpbm(1) pnmtoplainpnm was obsoleted in Netpbm 10.23 (July 2004) by pnmtopnm(1) -plain. pnmtoplainpnm exists today for backward compati





We can't live, work or learn in freedom unless the software we use is free.