1XmCreateTemplateDialog(library call)      XmCreateTemplateDialog(library call)
2
3
4

NAME

6       XmCreateTemplateDialog  —  A MessageBox TemplateDialog convenience cre‐
7       ation function
8

SYNOPSIS

10       #include <Xm/MessageB.h>
11       Widget XmCreateTemplateDialog(
12       Widget parent,
13       String name,
14       ArgList arglist,
15       Cardinal argcount);
16

DESCRIPTION

18       XmCreateTemplateDialog is a convenience creation function that  creates
19       a DialogShell and an unmanaged MessageBox child of the DialogShell. The
20       MessageBox widget's XmNdialogType resource is set to XmDIALOG_TEMPLATE.
21       By  default,  the  TemplateDialog  widget  contains  only the separator
22       child. You can build a customized dialog by adding children to the Tem‐
23       plateDialog.
24
25       You  can  create the standard MessageBox pushbuttons, Cancel, Help, and
26       OK, by specifying the associated callback and label  string  resources.
27       Setting XmNsymbolPixmap or XmNmessageString creates a symbol or message
28       label.
29
30       Use XtManageChild to pop up the TemplateDialog (passing the  MessageBox
31       as the widget parameter); use XtUnmanageChild to pop it down.
32
33       XmCreateTemplateDialog 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 MessageBox and its associated resources,
46       see XmMessageBox(3).
47

RETURN

49       Returns the MessageBox widget ID.
50
52       XmMessageBox(3).
53
54
55
56                                          XmCreateTemplateDialog(library call)
Impressum