1XmCreateErrorDialog(library call) XmCreateErrorDialog(library call)
2
3
4
6 XmCreateErrorDialog — The MessageBox ErrorDialog convenience creation
7 function
8
10 #include <Xm/MessageB.h>
11 Widget XmCreateErrorDialog(
12 Widget parent,
13 String name,
14 ArgList arglist,
15 Cardinal argcount);
16
18 XmCreateErrorDialog is a convenience creation function that creates a
19 DialogShell and an unmanaged MessageBox child of the DialogShell. An
20 ErrorDialog warns the user of an invalid or potentially dangerous con‐
21 dition. It includes a symbol, a message, and three buttons. The
22 default symbol is an octagon with a diagonal slash. The default button
23 labels are OK, Cancel, and Help.
24
25 Use XtManageChild to pop up the ErrorDialog (passing the MessageBox as
26 the widget parameter); use XtUnmanageChild to pop it down.
27
28 XmCreateErrorDialog 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 XmCreateErrorDialog(library call)