1XmCreateFileSelectionDialog(library caXlmlC)reateFileSelectionDialog(library call)
2
3
4
6 XmCreateFileSelectionDialog — The FileSelectionBox FileSelectionDialog
7 convenience creation function
8
10 #include <Xm/FileSB.h>
11 Widget XmCreateFileSelectionDialog(
12 Widget parent,
13 String name,
14 ArgList arglist,
15 Cardinal argcount);
16
18 XmCreateFileSelectionDialog is a convenience creation function that
19 creates a DialogShell and an unmanaged FileSelectionBox child of the
20 DialogShell. A FileSelectionDialog selects a file. It includes the
21 following:
22
23 · An editable text field for the directory mask
24
25 · A scrolling list of filenames
26
27 · An editable text field for the selected file
28
29 · Labels for the list and text fields
30
31 · Four buttons
32
33 The default button labels are OK, Filter, Cancel, and Help. One addi‐
34 tional WorkArea child may be added to the FileSelectionBox after cre‐
35 ation.
36
37 Use XtManageChild to pop up the FileSelectionDialog (passing the FileS‐
38 electionBox as the widget parameter); use XtUnmanageChild to pop it
39 down.
40
41 XmCreateFileSelectionDialog forces the value of the Shell resource
42 XmNallowShellResize to True.
43
44 parent Specifies the parent widget ID
45
46 name Specifies the name of the created widget
47
48 arglist Specifies the argument list
49
50 argcount Specifies the number of attribute/value pairs in the argument
51 list (arglist)
52
53 For a complete definition of FileSelectionBox and its associated
54 resources, see XmFileSelectionBox(3).
55
57 Returns the FileSelectionBox widget ID.
58
60 XmFileSelectionBox(3).
61
62
63
64 XmCreateFileSelectionDialog(library call)