XSetTransientForHint(3X) — X Version 11
NAME
XSetTransientForHint, XGetTransientForHint − set or get transient for hint
SYNTAX
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;
ARGUMENTS
displaySpecifies the connection to the X server.
wSpecifies the window ID.
prop_windowSpecifies the window ID 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 set the WM_TRANSIENT_FOR atom of the specified window to the specified prop_window. .PN XSetTransientForHint can generate BadAlloc and BadWindow errors.
The XGetTransientForHint function obtains the WM_TRANSIENT_FOR property for the specified window. .PN XGetTransientForHint can generate a BadWindow error.
PROPERTY
WM_TRANSIENT_FOR
DIAGNOSTICS
BadAlloc The server failed to allocate the requested resource or server memory.
BadWindow A value for a Window argument does not name a defined Window.
SEE ALSO
XSetClassHint(3X), XSetCommand(3X), XSetIconName(3X), XSetIconSizeHints(3X), XSetNormalHints(3X), XSetSizeHints(3X), XSetStandardProperties(3X), XSetWMHints(3X), XSetZoomHints(3X), XStoreName(3X)
Xlib − C Language X Interface
1 March 1988