Package ch.bailu.gtk.gtk
Interface PrintOperation.OnBeginPrint
- Enclosing class:
- PrintOperation
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onBeginPrint
(PrintContext context) Emitted after the user has finished changing print settings
in the dialog, before the actual rendering starts.
-
Method Details
-
onBeginPrint
Emitted after the user has finished changing print settings
in the dialog, before the actual rendering starts.
A typical use for ::begin-print is to use the parameters from the
[class@Gtk.PrintContext] and paginate the document accordingly,
and then set the number of pages with
[method@Gtk.PrintOperation.set_n_pages].- Parameters:
context
- the `GtkPrintContext` for the current operation
-