1XmCreateSelectionDialog(library call) XmCreateSelectionDialog(library call)
2
3
4
6 XmCreateSelectionDialog — The SelectionBox SelectionDialog convenience
7 creation function
8
10 #include <Xm/SelectioB.h>
11 Widget XmCreateSelectionDialog(
12 Widget parent,
13 String name,
14 ArgList arglist,
15 Cardinal argcount);
16
18 XmCreateSelectionDialog is a convenience creation function that creates
19 a DialogShell and an unmanaged SelectionBox child of the DialogShell.
20 A SelectionDialog offers the user a choice from a list of alternatives
21 and gets a selection. It includes the following:
22
23 · A scrolling list of alternatives
24
25 · An editable text field for the selected alternative
26
27 · Labels for the text field
28
29 · Four buttons
30
31 The default button labels are OK, Cancel, Apply, and Help. One addi‐
32 tional WorkArea child may be added to the SelectionBox after creation.
33
34 XmCreateSelectionDialog forces the value of the SelectionBox resource
35 XmNdialogType to XmDIALOG_SELECTION.
36
37 XmCreateSelectionDialog forces the value of the Shell resource XmNal‐
38 lowShellResize to True.
39
40 Use XtManageChild to pop up the SelectionDialog (passing the Selection‐
41 Box as the widget parameter); use XtUnmanageChild to pop it down.
42
43 parent Specifies the parent widget ID
44
45 name Specifies the name of the created widget
46
47 arglist Specifies the argument list
48
49 argcount Specifies the number of attribute/value pairs in the argument
50 list (arglist)
51
52 For a complete definition of SelectionBox and its associated resources,
53 see XmSelectionBox(3).
54
56 Returns the SelectionBox widget ID.
57
59 XmSelectionBox(3).
60
61
62
63 XmCreateSelectionDialog(library call)