XSetTransientForHint(3X) XSetTransientForHint(3X)
NAME
XSetTransientForHint, XGetTransientForHint - set or get
transient for hint
SYNOPSIS
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
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 specified prop_window.
XSetTransientForHint can generate BadAlloc and
BadWindow errors.
The XGetTransientForHint function returns the
WM_TRANSIENT_FOR property for the specified window.
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.
- 1 -
XSetTransientForHint(3X) XSetTransientForHint(3X)
SEE ALSO
XSetClassHint(3X11), XSetCommand(3X11),
XSetIconName(3X11), XSetIconSizeHints(3X11),
XSetNormalHints(3X11), XSetSizeHints(3X11),
XSetStandardProperties(3X11), XSetWMHints(3X11),
XSetZoomHints(3X11), XStoreName(3X11)
Xlib Programming Manual
- 2 -