XGetWMHints
Syntax
XWMHints *XGetWMHints(display, w)
Display *display;
Window w;
Arguments
display
| Specifies the connection to the X server.
X サーバへの接続を指定する。
|
w
| Specifies the window.
ウィンドウを指定する。
|
Description
The
XGetWMHints()
function reads the window manager hints and
returns NULL if no
WM_HINTS
property was set on the window
or returns a pointer to a
XWMHints
structure if it succeeds.
When finished with the data,
free the space used for it by calling
XFree().
XGetWMHints()
はウィンドウマネージャへのヒントを読み、
ウィンドウに
WM_HINTS
プロパティが設定されていなければ NULL を返し、
成功すれば
XWMHints
構造体へのポインタを返す。
データを使い終った後は
XFree()
を呼んでメモリを解放すること。
XGetWMHints()
can generate a
BadWindow
error.
XGetWMHints()
はエラー
BadWindow
を起こすことがある。
Diagnostics
BadWindow
| A value for a Window argument does not name a defined Window.
|
See also
XAllocClassHint(),
XAllocIconSize(),
XAllocSizeHints(),
XAllocWMHints(),
XFree(),
XSetCommand(),
XSetTextProperty(),
XSetTransientForHint(),
XSetWMClientMachine(),
XSetWMColormapWindows(),
XSetWMHints(),
XSetWMIconName(),
XSetWMName(),
XSetWMProperties(),
XSetWMProtocols(),
XStringListToTextProperty(),
"Setting and Reading the WM_HINTS Property".
Christophe Tronche, ch.tronche@computer.org