SgCreateFileSelectionDialog(3X)SgCreateFileSelectionDialog(3X)NAMESgCreateFileSelectionDialog — The FileSelectionDialog convenience cre‐
ation function
SYNOPSIS
#include <Xm/FileSB.h>
Widget XmCreateFileSelectionDialog (parent, name, arglist, argcount)
Widget parent; String name; ArgList arglist;
Cardinal argcount;
VERSION
This page documents the version of Sgm that accompanies Motif 1.2.
DESCRIPTION
XmCreateFileSelectionDialog is a convenience creation function that
creates a DialogShell and an unmanaged FileSelectionBox child of the
DialogShell. A FileSelectionDialog selects a file. It includes the
following: A directory menu showing the current directory and the
directories above it A scrolling list of file and directory names An
editable text field for the selected file Labels for the list and text
fields Three buttons
The default button labels are: OK, Cancel, and Help.
Use XtManageChild to pop up the FileSelectionDialog (passing the FileS‐
electionBox as the widget parameter); use XtUnmanageChild to pop it
down. 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 FileSelectionBox and its associated
resources, see SgFileSelectionBox(3X).
RETURN VALUE
Returns the FileSelectionBox widget ID.
RELATED INFORMATIONSgFileSelectionBox(3X).
SgCreateFileSelectionDialog(3X)