Package ch.bailu.gtk.gtk
Schnittstelle PrintOperationPreview.OnGotPageSize
- Umschließende Klasse:
PrintOperationPreview
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidonGotPageSize(PrintContext context, PageSetup page_setup) Emitted once for each page that gets rendered to the preview.
-
Methodendetails
-
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].- Parameter:
context- the current `GtkPrintContext`page_setup- the `GtkPageSetup` for the current page
-