Scroll to navigation

XmCreateCommandDialog(3) Library Functions Manual XmCreateCommandDialog(3)


XmCreateCommandDialog — The Command CommandDialog convenience creation function "XmCreateCommandDialog" "creation functions" "XmCreateCommandDialog"


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


XmCreateCommandDialog is a convenience function that creates a DialogShell and an unmanaged Command child of the DialogShell. A CommandDialog is used for entering commands for processing.

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

XmCreateCommandDialog 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 Command and its associated resources, see XmCommand(3).


Returns the Command widget ID.