Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XtCreateWindow(3)		  XT FUNCTIONS		       XtCreateWindow(3)

NAME
     XtCreateWindow - window creation convenience function

SYNTAX
     #include <X11/Intrinsic.h>

     void  XtCreateWindow(Widget  w,  unsigned int window_class, Visual *visual,
	    XtValueMask value_mask, XSetWindowAttributes *attributes);

ARGUMENTS
     attributesSpecifies the window attributes to use in the XCreateWindow call.

     value_maskSpecifies 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, Inpu-
	       tOnly, or CopyFromParent).

DESCRIPTION
     The XtCreateWindow function calls the Xlib XCreateWindow function with val-
     ues 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

X Version 11			   libXt 1.3.1		       XtCreateWindow(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=XtCreateWindow&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help