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