XLIB FUNCTIONS XSetTransientForHint(3x11)
NAME
XSetTransientForHint, XGetTransientForHint - set or read a
window's WM_TRANSIENT_FOR property
SYNTAXcc [ flag... ] file... -lX11 [ library... ]
int XSetTransientForHint(Display *display, Window w, Windowprop_window);
Status XGetTransientForHint(Display *display, Window w, Win-
dow *prop_window_return);
ARGUMENTS display Specifies the connection to the X server. w Specifies the window.prop_window
Specifies the window that the WM_TRANSIENT_FOR
property is to be set to.prop_window_return
Returns the WM_TRANSIENT_FOR property of the
specified window.DESCRIPTION
The XSetTransientForHint function sets the WM_TRANSIENT_FOR
property of the specified window to the specifiedprop_window.
XSetTransientForHint can generate BadAlloc and BadWindow errors.The XGetTransientForHint function returns the
WM_TRANSIENT_FOR property for the specified window. It
returns a nonzero status on success; otherwise, it returns a zero status.XGetTransientForHint can generate a BadWindow error.
PROPERTIESWM_TRANSIENT_FOR
Set by application programs to indicate to thewindow manager that a transient top-level window,
such as a dialog box. DIAGNOSTICS BadAlloc The server failed to allocate the requested resource or server memory. BadWindow A value for a Window argument does not name a X Version 11 Last change: libX11 1.3.5 1 XLIB FUNCTIONS XSetTransientForHint(3x11) defined Window.SEE ALSO
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
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | x11/library/libx11 ||_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | See XInitThreads(3X11) |
|_____________________________|_____________________________|
X Version 11 Last change: libX11 1.3.5 2