1XmCreateMessageDialog(library call) XmCreateMessageDialog(library call)
2
3
4
6 XmCreateMessageDialog — The MessageBox MessageDialog convenience cre‐
7 ation function
8
10 #include <Xm/MessageB.h>
11 Widget XmCreateMessageDialog(
12 Widget parent,
13 String name,
14 ArgList arglist,
15 Cardinal argcount);
16
18 XmCreateMessageDialog is a convenience creation function that creates a
19 DialogShell and an unmanaged MessageBox child of the DialogShell. A
20 MessageDialog is used for common interaction tasks, which include giv‐
21 ing information, asking questions, and reporting errors. It includes a
22 symbol, a message, and three buttons. By default, there is no symbol.
23 The default button labels are OK, Cancel, and Help.
24
25 Use XtManageChild to pop up the MessageDialog (passing the MessageBox
26 as the widget parameter); use XtUnmanageChild to pop it down.
27
28 XmCreateMessageDialog 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 XmCreateMessageDialog(library call)