[ Previous | Next | Contents | Glossary | Home | Search ]
Motif 2.1 Programmer's Reference


XmCreateMainWindow

The MainWindow widget creation function

Format

#include <Xm/MainW.h>
Widget XmCreateMainWindow
Widget
parentString nameArgList
arglistCardinal argcount

DESCRIPTION

XmCreateMainWindow creates an instance of a MainWindow 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 MainWindow and its associated resources, see XmMainWindow (3).

RETURN

Returns the MainWindow widget ID.

RELATED

XmMainWindow (3).


[ Previous | Next | Contents | Glossary | Home | Search ]