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