Package ch.bailu.gtk.gtk
Interface PrintOperationPreview.OnGotPageSize
- Enclosing class:
- PrintOperationPreview
- 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
onGotPageSize
(PrintContext context, PageSetup page_setup) Emitted once for each page that gets rendered to the preview.
-
Method Details
-
onGotPageSize
Emitted once for each page that gets rendered to the preview.
A handler for this signal should update the @context
according to @page_setup and set up a suitable cairo
context, using [method@Gtk.PrintContext.set_cairo_context].- Parameters:
context
- the current `GtkPrintContext`page_setup
- the `GtkPageSetup` for the current page
-