XtCreateWindow(3Xt) MIT X11R4 XtCreateWindow(3Xt)
Name
XtCreateWindow - window creation convenience function
Syntax
void XtCreateWindow(w, window_class, visual, value_mask, attributes)
Widget w;
unsigned int window_class;
Visual *visual;
XtValueMask value_mask;
XSetWindowAttributes *attributes;
Arguments
attributes
Specifies the window attributes to use in the call.
value_mask
Specifies which attribute fields to use.
visual Specifies the visual type (usually
w Specifies the widget that is used to set the x,y coordinates and so on.
window_class
Specifies the Xlib window class (for example, or
Description
The function calls the Xlib function with values from the widget structure and the passed parameters. Then, it assigns the created window
to the widget's window field.
evaluates the following fields of the widget structure:
o depth
o screen
o parent -> core.window
o x
o y
o width
o height
o border_width
See Also
X Window System Toolkit: The Complete Programmer's Guide and Specification, Paul J. Asente and Ralph Swick
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys
XtCreateWindow(3Xt)