XmCreateMainWindow(3X) — Subroutines
OSF/Motif
NAME
XmCreateMainWindow − The MainWindow widget creation function
SYNOPSIS
#include <Xm/MainW.h>
Widget XmCreateMainWindow (parent, name, arglist, argcount)
Widgetparent;
Stringname;
ArgListarglist;
Cardinalargcount;
DESCRIPTION
XmCreateMainWindow creates an instance of a MainWindow widget and returns the associated widget ID.
parentSpecifies the parent widget ID
nameSpecifies the name of the created widget
arglistSpecifies the argument list
argcountSpecifies the number of attribute/value pairs in the argument list (arglist)
For a complete definition of MainWindow and its associated resources, see XmMainWindow(3X).
RETURN VALUE
Returns the MainWindow widget ID.