Package: gtk

Accessor gtk:print-operation-export-filename

Lambda List

gtk:print-operation-export-filename (object)

Syntax

(gtk:print-operation-export-filename object) => filename
(setf (gtk:print-operation-export-filename object) filename)

Arguments

object -- a gtk:print-operation object
filename -- a string for the filename for the exported file

Details

The accessor for the export-filename slot of the gtk:print-operation class gets or sets the name of a file to generate instead of showing the print dialog.

The indended use of this function is for implementing "Export to PDF" actions. Currently, PDF is the only supported format.

"Print to PDF" support is independent of this and is done by letting the user pick the "Print to PDF" item from the list of printers in the print dialog.
 

See also

2025-09-21