DOKK / manpages / debian 12 / libmotif-dev / XmCreateMainWindow.3.en
XmCreateMainWindow(3) Library Functions Manual XmCreateMainWindow(3)

XmCreateMainWindow — The MainWindow widget creation function "XmCreateMainWindow" "creation functions" "XmCreateMainWindow"

#include <Xm/MainW.h>
Widget XmCreateMainWindow(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);

XmCreateMainWindow creates an instance of a MainWindow widget and returns the associated widget ID.

Specifies the parent widget ID
Specifies the name of the created widget
Specifies the argument list
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).

Returns the MainWindow widget ID.

XmMainWindow(3).