MirOS Manual: XtCreateWindow(3)


XtCreateWindow(3Xt)       XT FUNCTIONS        XtCreateWindow(3Xt)

NAME

     XtCreateWindow - window creation convenience function

SYNTAX

     void XtCreateWindow(Widget w, unsigned int window_class,
          Visual *visual, XtValueMask value_mask, XSetWindowAt-
          tributes *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 CopyFrom-
               Parent).

     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

XFree86                   Version 4.5.0                         1

XtCreateWindow(3Xt)       XT FUNCTIONS        XtCreateWindow(3Xt)

SEE ALSO

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

XFree86                   Version 4.5.0                         2

Generated on 2017-04-03 16:26:17 by $MirOS: src/scripts/roff2htm,v 1.88 2017/01/29 00:51:06 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002–2017 The MirOS Project, Germany.
This product includes material provided by mirabilos.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.