Scroll to navigation

XSetTransientForHint(3X11) XLIB FUNCTIONS XSetTransientForHint(3X11)

名前

XSetTransientForHint, XGetTransientForHint - ウィンドウの WM_TRANSIENT_FOR プロパティの設定・取得を行なう

書式

XSetTransientForHint( display, w, prop_window)
 

Display * display;
 

Window w;
 

Window prop_window;
Status XGetTransientForHint( display, w, prop_window_return)
 

Display * display;
 

Window w;
 

Window * prop_window_return;

引き数

display
X サーバへの接続を指定する。
w
ウィンドウを指定する。
prop_window
WM_TRANSIENT_FOR プロパティが設定されるウィンドウを指定。
prop_window_return
指定したウィンドウの WM_TRANSIENT_FOR プロパティが返される。

説明

関数 XSetTransientForHint は指定した prop_window を指定したウィンドウの WM_TRANSIENT_FOR プロパティに設定する。
XSetTransientForHint はエラー BadAlloc, BadWindow を起こすことがある。
関数 XGetTransientForHint は指定したウィンドウの WM_TRANSIENT_FOR プロパティを返す。 この関数は成功時には 0 でないステータスを返し、そうでない場合は ステータスとして 0 を返す。
XGetTransientForHint はエラー BadWindow を起こすことがある。

プロパティ

WM_TRANSIENT_FOR
アプリケーションによって設定され、ダイアログボックスのような一時的な トップレベルウィンドウをウィンドウマネージャに示す。

返り値

BadAlloc
要求されたリソースやサーバメモリの割り当てにサーバが失敗した。
BadWindow
引き数 Window の値が、定義されている Window を指していない。

関連項目

XAllocClassHint(3X11), XAllocIconSize(3X11), XAllocSizeHints(3X11), XAllocWMHints(3X11), XSetCommand(3X11), XSetTextProperty(3X11), XSetWMClientMachine(3X11), XSetWMColormapWindows(3X11), XSetWMIconName(3X11), XSetWMName(3X11), XSetWMProperties(3X11), XSetWMProtocols(3X11), XStringListToTextProperty(3X11)
 
Xlib - C Language X Interface
Release 6.5 X Version 11