background image
Functional specification
169
CDE/Motif PST
CDEnext
DtNcancelCallback
Specifies the list of callbacks that is called when the Cancel button is activated. The
callback reason is
DtPRINT_CR_CANCEL
.
DtNclosePrintDisplayCallback
When the value of the
DtNprintSetupMode
resource is
DtPRINT_SETUP_XP
, the
DtPrintSetupBox
will manage the X printing display connection and print context.
As such,
DtNclosePrintDisplayCallback
is provided to allow an application to
perform any desired processing (such as destroying windows created on the print
display) before the
DtPrintSetupBox
destroys the current print context and closes
the current print display connection.
This callback list will not be called if the value of the
DtNprintSetupMode
resource is
anything other than
DtPRINT_SETUP_XP.
The callback reason is
DtPRINT_CR_CLOSE_PRINT_DISPLAY
.
DtNcopies
The number of copies of the document to print. This is a spin box into which the user
may enter a positive integer.
DtNdescription
A description of the printer as provided by the system administrator.
DtNfileName
Specifies the name of the destination file. Setting this resource will update the value of
the File Name text field.
DtNprinterInfoProc
DtCPrinterInfoProc
/
DtPrintSetupProc
CSG
dynamic
DtNprinterName
DtCPrinter
/
String
CSG
dynamic
DtNprintSetupMode
DtCPrintSetupMode
/
XtEnum
CG
DtPRINT_SETUP_XP
DtNselectFileProc
DtCSelectFileProc
/
DtPrintSetupProc
CSG
default procedure
DtNselectPrinterProc
DtCSelectPrinterProc
/
DtPrintSetupProc
CSG
dynamic
DtNsetupCallback
DtCSetupCallback
/
XtCallbackList
C
NULL
DtNverifyPrinterProc
DtCVerifyPrinterProc
/
DtPrintSetupProc
CSG
dynamic
DtNworkAreaLocation
DtCworkAreaLocation
/
XtEnum
CSG
DtWORK_AREA_BOTTOM
Table 10-2: DtPrintSetupBox Resources
Name
Class/Type
Access
Default Value