1XtCreateWindow(3) XT FUNCTIONS XtCreateWindow(3)
2
3
4
6 XtCreateWindow - window creation convenience function
7
9 #include <X11/Intrinsic.h>
10
11 void XtCreateWindow(Widget w, unsigned int window_class, Visual *vis‐
12 ual, XtValueMask value_mask, XSetWindowAttributes *attributes);
13
15 attributes
16 Specifies the window attributes to use in the XCreateWindow
17 call.
18
19 value_mask
20 Specifies which attribute fields to use.
21
22 visual Specifies the visual type (usually CopyFromParent).
23
24 w Specifies the widget that is used to set the x,y coordinates
25 and so on.
26
27 window_class
28 Specifies the Xlib window class (for example, InputOutput,
29 InputOnly, or CopyFromParent).
30
32 The XtCreateWindow function calls the Xlib XCreateWindow function with
33 values from the widget structure and the passed parameters. Then, it
34 assigns the created window to the widget's window field.
35
36 XtCreateWindow evaluates the following fields of the Core widget struc‐
37 ture:
38
39 · depth
40
41 · screen
42
43 · parent -> core.window
44
45 · x
46
47 · y
48
49 · width
50
51 · height
52
53 · border_width
54
56 X Toolkit Intrinsics - C Language Interface
57 Xlib - C Language X Interface
58
59
60
61X Version 11 libXt 1.1.5.1 XtCreateWindow(3)