DOKK / manpages / debian 10 / libmotif-dev / XmVaCreateManagedMainWindow.3.en
XmVaCreateMainWindow(3) Library Functions Manual XmVaCreateMainWindow(3)

XmVaCreateMainWindow, XmVaCreateManagedMainWindow — A MainWindow widget convenience creation functions. "XmVaCreateMainWindow" "XmVaCreateManagedMainWindow" "creation functions"

#include <Xm/MainW.h>
Widget XmVaCreateMainWindow(
Widget parent,
String name,
...);
Widget XmVaCreateManagedMainWindow(
Widget parent,
String name,
...);

These functions create an instance of a MainWindow widget and returns the associated widget ID. These routines use the ANSI C variable-length argument list (varargs) calling convention.

The XmVaCreateMainWindow function is a convenience routine that calls XtCreateWidget.

The XmVaCreateManagedMainWindow function is a convenience routine that calls XtCreateManagedWidget.

Specifies the parent widget ID.
Specifies the name of the created widget.
...
Specifies the variable argument list to override the resource defaults.

For a complete definition of MainWindow and its associated resources, see XmMainWindow(3).

Returns the MainWindow widget ID.

XmMainWindow(3), XmCreateMainWindow(3), XtCreateWidget(3), and XtCreateManagedWidget(3).