XmCreateSelectionBox(Xm)
XmCreateSelectionBox --
the SelectionBox widget creation function
Syntax
#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:
-
A scrolling list of alternatives
-
An editable text field for the selected alternative
-
Labels for the list and text field
-
Three or four buttons
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(Xm).
Return value
Returns the SelectionBox widget ID.
See also
XmSelectionBox(Xm)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003