SYNOPSIS
#include <Xm/Command.h>
Widget XmCreateCommandDialog(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);
DESCRIPTION
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.
- parent
- Specifies the parent widget ID
- name
- Specifies the name of the created widget
- arglist
- Specifies the argument list
- argcount
- 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).
RETURN
Returns the Command widget ID.