---
name: "GLwCreateMDrawingArea"
section: "3x"
platform: "linux"
package: "xlibmesa-gl-dev"
version: "4.3.0.dfsg.1-14sarge7"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/GLwCreateMDrawingArea"
---

# GLwCreateMDrawingArea(3x)

Create a Motif/OpenGL Drawing Widget.

## NAME

**GLwCreateMDrawingArea — Create a Motif/OpenGL Drawing Widget.**

## SYNOPSIS

**#include \<X11/GLw/GLwMDrawA.h\>**\
 Widget **GLwCreateMDrawingArea**( Widget *parent*,\
                               String *name*,\
                               ArgList *arglist*,\
                               Cardinal *argcount* )

## DESCRIPTION

**GLwCreateMDrawingArea** *creates an instance of a GLwMDrawingArea* *widget and returns the associated widget ID.*

- *parent*

  *Specifies the parent widget ID*

- *name*

  *Specifies the name of the created widget*

- *arglist*

  *Specifies the argument list*

- *argcount*

  *Specifies the number of attribute/value pairs in the argument list* *(arglist)*

*For a complete definition of GLwMDrawingArea and its associated resources, see* **GLwDrawingArea(3X)***.*

## RETURN VALUE

*Returns the GLwMDrawingArea widget ID.*

## SEE ALSO

**GLwDrawingArea(3X)***.*
