background image
Functional specification
179
CDE/Motif PST
CDEnext
10.8
DtCreatePrintSetupDialog
10.8.1
Short Description
DtCreatePrintSetupDialog
is a convenience function that creates an instance of a dialog containing a
DtPrintSetupBox
widget, and returns the
DtPrintSetupBox
widget ID.
10.8.2
Long Description
NAME
DtCreatePrintSetupDialog - convenience function to create a
DtPrintSetupBox
dialog.
SYNOPSIS
#include <Dt/Print.h>
Widget DtCreatePrintSetupDialog(
Widget
parent
,
const String
name
,
ArgList
arglist
,
Cardinal
argcount
)
ARGUMENTS
parent
Specifies the parent widget ID.
name
Specifies the name of the created widget.
arglist
Specifies the argument list.
argcount
Specifies the number of attribute/value pairs in
arglist
.
RETURN VALUE
Returns the
DtPrintSetupBox
widget ID.
DESCRIPTION
DtCreatePrintSetupDialog
is a convenience function that creates a
DialogShell
and an
unmanaged
DtPrintSetupBox
child of the
DialogShell
. Use
XtManageChild
to pop up the
print set up dialog (passing the
DtPrintSetupBox
as the
widget
parameter); use
XtUnmanageChild
to pop it down.
RELATED INFORMATION
See also "DtPrintSetupBox", "DtPrintSetupProc".