1XmCreateFileSelectionBox(library call) XmCreateFileSelectionBox(library call)
2
3
4
6 XmCreateFileSelectionBox — The FileSelectionBox widget creation func‐
7 tion
8
10 #include <Xm/FileSB.h>
11 Widget XmCreateFileSelectionBox(
12 Widget parent,
13 String name,
14 ArgList arglist,
15 Cardinal argcount);
16
18 XmCreateFileSelectionBox creates an unmanaged FileSelectionBox. A
19 FileSelectionBox is used to select a file and includes the following:
20
21 · An editable text field for the directory mask
22
23 · A scrolling list of filenames
24
25 · An editable text field for the selected file
26
27 · Labels for the list and text fields
28
29 · Four buttons
30
31 The default button labels are OK, Filter, Cancel, and Help. Additional
32 work area children may be added to the FileSelectionBox after creation.
33 FileSelectionBox inherits the layout functionality provided by Selec‐
34 tionBox for any additional work area children.
35
36 If the parent of the FileSelectionBox is a DialogShell, use XtMan‐
37 ageChild to pop up the FileSelectionDialog (passing the FileSelection‐
38 Box as the widget parameter); use XtUnmanageChild to pop it down.
39
40 parent Specifies the parent widget ID
41
42 name Specifies the name of the created widget
43
44 arglist Specifies the argument list
45
46 argcount Specifies the number of attribute/value pairs in the argument
47 list (arglist)
48
49 For a complete definition of FileSelectionBox and its associated
50 resources, see XmFileSelectionBox(3).
51
53 Returns the FileSelectionBox widget ID.
54
56 XmFileSelectionBox(3).
57
58
59
60 XmCreateFileSelectionBox(library call)