Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

XmCreateSelectionBox(3X)  —  OSF/Motif

NAME

XmCreateSelectionBox − The SelectionBox widget creation function

SYNOPSIS

#include <Xm/SelectioB.h>
Widget XmCreateSelectionBox (parent, name, arglist, argcount)
Widgetparent;
Stringname;
ArgListarglist;
Cardinalargcount;

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. 

parentSpecifies the parent widget ID

nameSpecifies the name of the created widget

arglistSpecifies the argument list

argcountSpecifies the number of attribute/value pairs in the argument list (arglist)

For a complete definition of SelectionBox and its associated resources, see XmSelectionBox(3X). 

RETURN VALUE

Returns the SelectionBox widget ID. 

RELATED INFORMATION

XmSelectionBox(3X). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026