*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> DtPrintSetupProc (3)              
Title
Content
Arch
Section
 

Contents


 DtPrintSetupProc(library call)               DtPrintSetupProc(library call)




 NAME    [Toc]    [Back]
      DtPrintSetupProc - Type definition for DtPrintSetupBox procedure
      resources.

 SYNOPSIS    [Toc]    [Back]
      #include <Print.h>
      typedef XtEnum (*DtPrintSetupProc)(
      Widget wid,
      DtPrintSetupData *print_data);

 DESCRIPTION    [Toc]    [Back]
      DtPrintSetupProc is the type definition used for DtPrintSetupBox
      procedure resources. Each procedure is passed the widget ID of the
      DtPrintSetupBox via wid, and a structure containing information needed
      to perform the particular operation via print_data.

      If a procedure needs to update the DtPrintSetupBox, it should do so by
      setting resources as indicated by the procedure resource description.
      The only exception to this is when the DtNverifyPrinterProc is used to
      verify X printers. In this case, the procedure may update the
      print_display and print_context elements of the passed
      DtPrintSetupData structure.

 ARGUMENTS    [Toc]    [Back]
      wid       The widget ID of the DtPrintSetupBox.

      print_data
                A pointer to an existing DtPrintSetupData structure that
                contains the print setup information relevant to the
                specific procedure.

 RETURN VALUE    [Toc]    [Back]
      DtPRINT_SUCCESS
                The procedure completed successfully.

      DtPRINT_FAILURE    [Toc]    [Back]
                The procedure encountered an error.

      DtPRINT_BAD_PARM    [Toc]    [Back]
                An invalid parameter was passed to the procedure.

 SEE ALSO    [Toc]    [Back]
      DtPrintSetupBox(3)


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
dtinfoBookdtd HP-UX dtinfo bookcase document type definition
dtinfoStyledtd HP-UX dtinfo style sheet document type definition
dtinfoTOCdtd HP-UX dtinfo table of contents document type definition
DtCreatePrintSetupBox HP-UX creates an instance of a DtPrintSetupBox widget
DtCreatePrintSetupDialog HP-UX creates an instance of a dialog containing a DtPrintSetupBox widget
DtPrintResetConnection HP-UX resets the print display connection managed by a DtPrintSetupBox
font2c Linux Write PostScript Type 0 or Type 1 font as C code
SgText IRIX XmText SGI Resources
SgScale IRIX XmScale SGI Resources
glresources IRIX X resources used by GL programs
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service