Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmCreaFiB(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmCreateFileSelectionDialog(Xm)              XmCreateFileSelectionDialog(Xm)
                                6 January 1993


 Name

    XmCreateFileSelectionDialog - the FileSelectionBox FileSelectionDialog
    convenience creation function

 Syntax


    #include <Xm/FileSB.h>

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


 Description

    XmCreateFileSelectionDialog is a convenience creation function that cre-
    ates a DialogShell and an unmanaged FileSelectionBox child of the Dialog-
    Shell.  A FileSelectionDialog selects a file.  It includes the following:

    +  An editable text field for the directory mask

    +  A scrolling list of filenames

    +  An editable text field for the selected file

    +  Labels for the list and text fields

    +  Four buttons

    The default button labels are:  ``OK'', ``Filter'', ``Cancel'', and
    ``Help''.  One additional WorkArea child may be added to the FileSelec-
    tionBox after creation.

    Use XtManageChild to pop up the FileSelectionDialog (passing the
    FileSelectionBox as the widget parameter); use XtUnmanageChild to pop it
    down.

    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 FileSelectionBox and its associated
    resources, see XmFileSelectionBox(Xm).

 Return value

    Returns the FileSelectionBox widget ID.

 See also

    XmFileSelectionBox(Xm)


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