Blob Blame History Raw
'\" t
...\" CreTeA.sgm /main/8 1996/09/08 20:36:54 rws $
.de P!
.fl
\!!1 setgray
.fl
\\&.\"
.fl
\!!0 setgray
.fl			\" force out current output buffer
\!!save /psv exch def currentpoint translate 0 0 moveto
\!!/showpage{}def
.fl			\" prolog
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
\!!psv restore
.
.de pF
.ie     \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie     !\\*(f4 \{\
.	ft \\*(f4
.	ds f4\"
'	br \}
.el .ie !\\*(f3 \{\
.	ft \\*(f3
.	ds f3\"
'	br \}
.el .ie !\\*(f2 \{\
.	ft \\*(f2
.	ds f2\"
'	br \}
.el .ie !\\*(f1 \{\
.	ft \\*(f1
.	ds f1\"
'	br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
.TH "XmCreateTemplateDialog" "library call"
.SH "NAME"
\fBXmCreateTemplateDialog\fP \(em A MessageBox TemplateDialog convenience
creation function
.iX "XmCreateTemplateDialog"
.iX "create functions" "XmCreateTemplateDialog"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/MessageB\&.h>
\fBWidget \fBXmCreateTemplateDialog\fP\fR(
\fBWidget \fBparent\fR\fR,
\fBString \fBname\fR\fR,
\fBArgList \fBarglist\fR\fR,
\fBCardinal \fBargcount\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
\fBXmCreateTemplateDialog\fP is a convenience creation function
that creates a DialogShell and an unmanaged MessageBox child of
the DialogShell\&. The MessageBox widget\&'s \fBXmNdialogType\fP resource
is set to \fBXmDIALOG_TEMPLATE\fP\&. By default, the TemplateDialog
widget contains only the separator child\&. You can build
a customized dialog by adding children to the TemplateDialog\&.
.PP
You can create
the standard MessageBox pushbuttons, \fBCancel\fP, \fBHelp\fP,
and \fBOK\fP, by specifying the associated callback
and label string resources\&. Setting \fBXmNsymbolPixmap\fP
or \fBXmNmessageString\fP creates a symbol or message label\&.
.PP
Use \fBXtManageChild\fP to pop up the TemplateDialog (passing the
MessageBox as the widget parameter); use \fBXtUnmanageChild\fP to
pop it down\&.
.PP
\fBXmCreateTemplateDialog\fP forces the value of the Shell resource
\fBXmNallowShellResize\fP to True\&.
.IP "\fIparent\fP" 10
Specifies the parent widget ID
.IP "\fIname\fP" 10
Specifies the name of the created widget
.IP "\fIarglist\fP" 10
Specifies the argument list
.IP "\fIargcount\fP" 10
Specifies the number of attribute/value pairs in the argument
list (\fIarglist\fP)
.PP
For a complete definition of MessageBox and its associated resources,
see \fBXmMessageBox\fP(3)\&.
.SH "RETURN"
.PP
Returns the MessageBox widget ID\&.
.SH "RELATED"
.PP
\fBXmMessageBox\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:21