XtCreateWindow (3)
Leading comments
Copyright 1993 X Consortium Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and thi...
NAME
XtCreateWindow - window creation convenience functionSYNTAX
- void XtCreateWindow(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
SEE ALSO
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface