Package: gtk

GBoxed gtk:print-setup

Declaration

(glib:define-gboxed-opaque print-setup "GtkPrintSetup"
  :export t
  :type-initializer "gtk_print_setup_get_type"
  :alloc (error "GtkPrintSetup cannot be created from the Lisp side."))  

Details

The gtk:print-setup structure is an auxiliary structure for printing that allows decoupling the setup from the printing. A print setup is obtained by calling the gtk:print-dialog-setup function, and can later be passed to print functions such as the gtk:print-dialog-print-file function.

Print setups can be reused for multiple print calls.

Applications may wish to store the page setup and print settings from the print setup and copy them to the print dialog if they want to keep using them.

Since 4.14
 

See also

2024-11-10