XtCreateWindow(3)

XtCreateWindow3

Window creation convenience function

Usage

#include <X11/Intrinsic.h>

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).

Overview

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

Releases

11 releases since Debian 4.0 (Etch); the text changed 8 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9–10
  7. 11
  8. 12–13
  9. Arch

From libxt 1.3.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.