Scroll to navigation

XmCreateCommandDialog(library call) XmCreateCommandDialog(library call)

NAME

XmCreateCommandDialog — The Command CommandDialog convenience creation function

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.

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).

RETURN

Returns the Command widget ID.

RELATED

XmCommand(3).