Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtCreWin(Xt) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XtCreateWindow(Xt)       X Version 11 (Release 5)         XtCreateWindow(Xt)
                                6 January 1993


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

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

    windowclass
              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 struc-
    ture:

       depth
       screen
       parent -> core.window
       x
       y
       width
       height
       borderwidth


 See also

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


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026