XmCreateSelectionBox(X3mot)


XmCreateSelectionBox -- the SelectionBox widget creation function

Synopsis

#include <Xm/SelectioB.h>

Widget XmCreateSelectionBox (parent, name, arglist, argcount) Widget parent; String name; ArgList arglist; Cardinal argcount;

Description

XmCreateSelectionBox creates an unmanaged SelectionBox. A SelectionBox is used to get a selection from a list of alternatives from the user and includes the following:

The default button labels are ``OK'', ``Cancel'', and ``Help''. By default an ``Apply'' button is also created; if the parent of the SelectionBox is a DialogShell it is managed, and otherwise it is unmanaged. Additional work area children may be added to the SelectionBox after creation.


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 SelectionBox and its associated resources, see XmSelectionBox(X3mot).

Return values

Returns the SelectionBox widget ID.

References

XmSelectionBox(X3mot)
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004