Package ch.bailu.gtk.gtk
Interface PrintOperation.OnRequestPageSetup
- 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
onRequestPageSetup
(PrintContext context, int page_nr, PageSetup setup) Emitted once for every page that is printed.
-
Method Details
-
onRequestPageSetup
Emitted once for every page that is printed.
This gives the application a chance to modify the page setup.
Any changes done to @setup will be in force only for printing
this page.- Parameters:
context
- the `GtkPrintContext` for the current operationpage_nr
- the number of the currently printed page (0-based)setup
- the `GtkPageSetup`
-