14.1.4 Setting and Reading the WM_NAME Property

Xlib provides convenience functions that you can use to set and read the WM_NAME property for a given window.

To set a window's WM_NAME property with the supplied convenience function, use XSetWMName().

To read a window's WM_NAME property with the supplied convenience function, use XGetWMName().

The following two functions have been superseded by XSetWMName() and XGetWMName(), respectively. You can use these additional convenience functions for window names that are encoded as STRING properties.

To assign a name to a window, use XStoreName().

To get the name of a window, use XFetchName().

Next: Setting and Reading the WM_ICON_NAME Property

Christophe Tronche, ch.tronche@computer.org