1XmCreateWarningDialog(library call) XmCreateWarningDialog(library call)
2
3
4
6 XmCreateWarningDialog — The MessageBox WarningDialog convenience cre‐
7 ation function
8
10 #include <Xm/MessageB.h>
11 Widget XmCreateWarningDialog(
12 Widget parent,
13 String name,
14 ArgList arglist,
15 Cardinal argcount);
16
18 XmCreateWarningDialog is a convenience creation function that creates a
19 DialogShell and an unmanaged MessageBox child of the DialogShell. A
20 WarningDialog warns users of action consequences and gives them a
21 choice of resolutions. It includes a symbol, a message, and three but‐
22 tons. The default symbol is an exclamation point. The default button
23 labels are OK, Cancel, and Help.
24
25 Use XtManageChild to pop up the WarningDialog (passing the MessageBox
26 as the widget parameter); use XtUnmanageChild to pop it down.
27
28 XmCreateWarningDialog forces the value of the Shell resource XmNallow‐
29 ShellResize to True.
30
31 parent Specifies the parent widget ID
32
33 name Specifies the name of the created widget
34
35 arglist Specifies the argument list
36
37 argcount Specifies the number of attribute/value pairs in the argument
38 list (arglist)
39
40 For a complete definition of MessageBox and its associated resources,
41 see XmMessageBox(3).
42
44 Returns the MessageBox widget ID.
45
47 XmMessageBox(3).
48
49
50
51 XmCreateWarningDialog(library call)