DTPRINTSETUPPROC(3)
π NAME π
okay bestie, this is the library call page for DtPrintSetupProc β literally the type definition for DtPrintSetupBox procedure resources β¨. No cap, that's the whole name vibe.
β¨ SYNOPSIS β¨
this is the exact shape, so copy it verbatim and don't freestyle it π :
#include &<Print.h>
typedef XtEnum (*DtPrintSetupProc)(
Widget wid,
DtPrintSetupData *print_data);
πΈ DESCRIPTION πΈ
DtPrintSetupProc is the type definition used for DtPrintSetupBox procedure resources. Each procedure gets the widget ID of the DtPrintSetupBox through wid, plus a structure containing the information it needs to perform the particular operation through print_data π
If a procedure needs to update the DtPrintSetupBox, it should do that by setting resources as indicated by the procedure resource description. That's the move.
π¨ the only exception: whenDtNverifyPrinterProcis used to verify X printers. In this case, the procedure may update theprint_displayandprint_contextelements of the passedDtPrintSetupDatastructure. That's the one special little exception, iykyk π
π ARGUMENTS π
widβ the widget ID of theDtPrintSetupBoxπ«Άprint_dataβ a pointer to an existingDtPrintSetupDatastructure that contains the print setup information relevant to the specific procedure πΈ
π RETURN VALUE π
DtPRINT_SUCCESSβ the procedure completed successfully β¨DtPRINT_FAILUREβ the procedure encountered an error πDtPRINT_BAD_PARMβ an invalid parameter was passed to the procedure π
π¦ SEE ALSO π¦
and that's the whole page, bestie β footer vibes are DtPrintSetupProc(library call), and we're out π«Άπ
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms