1XmCreatePromptDialog(library call) XmCreatePromptDialog(library call)
2
3
4
6 XmCreatePromptDialog — The SelectionBox PromptDialog convenience cre‐
7 ation function
8
10 #include <Xm/SelectioB.h>
11 Widget XmCreatePromptDialog(
12 Widget parent,
13 String name,
14 ArgList arglist,
15 Cardinal argcount);
16
18 XmCreatePromptDialog is a convenience creation function that creates a
19 DialogShell and an unmanaged SelectionBox child of the DialogShell. A
20 PromptDialog prompts the user for text input. It includes a message, a
21 text input region, and three managed buttons. The default button
22 labels are OK, Cancel, and Help. An additional button, with Apply as
23 the default label, is created unmanaged; it may be explicitly managed
24 if needed. One additional WorkArea child may be added to the Selection‐
25 Box after creation.
26
27 XmCreatePromptDialog forces the value of the SelectionBox resource XmN‐
28 dialogType to XmDIALOG_PROMPT.
29
30 Use XtManageChild to pop up the PromptDialog (passing the SelectionBox
31 as the widget parameter); use XtUnmanageChild to pop it down.
32
33 XmCreatePromptDialog forces the value of the Shell resource XmNallow‐
34 ShellResize to True.
35
36 parent Specifies the parent widget ID
37
38 name Specifies the name of the created widget
39
40 arglist Specifies the argument list
41
42 argcount Specifies the number of attribute/value pairs in the argument
43 list (arglist)
44
45 For a complete definition of SelectionBox and its associated resources,
46 see XmSelectionBox(3).
47
49 Returns the SelectionBox widget ID.
50
52 XmSelectionBox(3).
53
54
55
56 XmCreatePromptDialog(library call)