DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
X Version 11 (Release 6.1)

XtCreateWindow(X3xt)


XtCreateWindow -- window creation convenience function

Synopsis

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 XCreateWindow call.

value_mask
Specifies which attribute fields to use.

visual
Specifies the visual type (usually CopyFromParent).

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, 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

References

X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004