1XSetTransientForHint(3X11)      XLIB FUNCTIONS      XSetTransientForHint(3X11)
2
3
4

NAME

6       XSetTransientForHint, XGetTransientForHint - set or read a window's
7       WM_TRANSIENT_FOR property
8

SYNTAX

10       int XSetTransientForHint(Display *display, Window w, Window prop_win‐
11              dow);
12
13       Status XGetTransientForHint(Display *display, Window w, Window
14              *prop_window_return);
15

ARGUMENTS

17       display   Specifies the connection to the X server.
18
19       w         Specifies the window.
20
21       prop_window
22                 Specifies the window that the WM_TRANSIENT_FOR property is to
23                 be set to.
24
25       prop_window_return
26                 Returns the WM_TRANSIENT_FOR property of the specified win‐
27                 dow.
28

DESCRIPTION

30       The XSetTransientForHint function sets the WM_TRANSIENT_FOR property of
31       the specified window to the specified prop_window.
32
33       XSetTransientForHint can generate BadAlloc and BadWindow errors.
34
35       The XGetTransientForHint function returns the WM_TRANSIENT_FOR property
36       for the specified window.  It returns a nonzero status on success; oth‐
37       erwise, it returns a zero status.
38
39       XGetTransientForHint can generate a BadWindow error.
40

PROPERTIES

42       WM_TRANSIENT_FOR
43                 Set by application programs to indicate to the window manager
44                 that a transient top-level window, such as a dialog box.
45

DIAGNOSTICS

47       BadAlloc  The server failed to allocate the requested resource or
48                 server memory.
49
50       BadWindow A value for a Window argument does not name a defined Window.
51

SEE ALSO

53       XAllocClassHint(3X11), XAllocIconSize(3X11), XAllocSizeHints(3X11),
54       XAllocWMHints(3X11), XSetCommand(3X11), XSetTextProperty(3X11), XSetWM‐
55       ClientMachine(3X11), XSetWMColormapWindows(3X11), XSetWMIconName(3X11),
56       XSetWMName(3X11), XSetWMProperties(3X11), XSetWMProtocols(3X11),
57       XStringListToTextProperty(3X11)
58       Xlib - C Language X Interface
59
60
61
62X Version 11                     libX11 1.0.3       XSetTransientForHint(3X11)
Impressum