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.
Xlib には、指定されたウィンドウに対して WM_NAME プロパティの設定と取得を行うための簡易関数が用意されている。

To set a window's WM_NAME property with the supplied convenience function, use XSetWMName().
既存の簡易関数で WM_NAME プロパティに設定するには XSetWMName() を使う。

To read a window's WM_NAME property with the supplied convenience function, use XGetWMName().
既存の簡易関数で WM_NAME プロパティに取得するには 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.
以下の 2 つの関数は既に XSetWMName()XGetWMName() によって置き換えられている。 STRING プロパティでエンコードされているウィンドウ名に対しては これらの簡易関数を代わりに使ってもよい。

To assign a name to a window, use XStoreName().
名前をウィンドウに割り付けるには XStoreName() を使う。

To get the name of a window, use XFetchName().
ウィンドウの名前を取得するには XFetchName() を使う。

Next: Setting and Reading the WM_ICON_NAME Property

Christophe Tronche, ch.tronche@computer.org