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
attributesSpecifies the window attributes to use in the XCreateWindow call.
value_maskSpecifies which attribute fields to use.
visualSpecifies the visual type (usually CopyFromParent).
wSpecifies the widget that is used to set the x,y coordinates and other geometry information.
window_class
Specifies the Xlib window class (for example, InputOutput, InputOnly, or CopyFromParent).
Description
The XtCreateWindow function calls the Xlib XCreateWindow function with values from the widget structure and the passed parameters. Then, it assigns the created window to the widget’s window field.
XtCreateWindow evaluates the following fields of the Core widget structure:
•depth
•screen
•parent -> core.window
•x
•y
•width
•height
•border_width
See Also
Guide to the XUI Toolkit Intrinsics
Guide to the Xlib Library