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

XmCreateFormDialog — A Form FormDialog convenience creation function "XmCreateFormDialog" "creation functions" "XmCreateFormDialog"

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

XmCreateFormDialog is a convenience creation function that creates a DialogShell and an unmanaged Form child of the DialogShell. A FormDialog is used for interactions not supported by the standard dialog set. This function does not automatically create any labels, buttons, or other dialog components. Such components should be added by the application after the FormDialog is created.

Use XtManageChild to pop up the FormDialog (passing the Form as the widget parameter); use XtUnmanageChild to pop it down.

XmCreateFormDialog forces the value of the Shell resource XmNallowShellResize to True.

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 Form and its associated resources, see XmForm(3).

Returns the Form widget ID.

XmForm(3).