![]() |
![]()
| ![]() |
![]()
NAMEDtPrintResetConnection — resets the print display connection managed by a DtPrintSetupBox SYNOPSIS#include &<Print.h> XtEnum DtPrintResetConnection( Widget wid, DtPrintResetConnectionMode mode); DESCRIPTIONThe DtPrintResetConnection function is a convenience function provided by the DtPrintSetupBox widget that allows applications to direct the widget to stop managing the X print server connection. A mode parameter is included in order to direct the widget to close the print connection by calling XpDestroyPrintContext and XCloseDisplay or to simply relinquish control of the connection without closing it. DtPrintResetConnection is intended to be used by applications that fork a child process to perform the print rendering operation. Immediately after the fork is performed, the parent process will close its X print server connection, and retain its connection to the video X server. The forked child on the other hand will close its video X server connection and perform the rendering operation on the X print server connection. ARGUMENTS
RETURN VALUE
ENVIRONMENT VARIABLESNone. RESOURCESNone. ACTIONS/MESSAGESNone. ERRORS/WARNINGSNone. EXAMPLESNone. FILESNone. SEE ALSODtPrintSetupBox(3)
|