TypeScript API Documentation for GTK
API Version: 4.0
Library Version: 4.23.3
Generated with TypeDoc via ts-for-gir v5.2.0
Signal
Run Last
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 Gtk.PrintContext.set_cairo_context.
context
page_setup
The ::ready signal gets emitted once per preview operation, before the first page is rendered.
A handler for this signal can be used for setup tasks.
Emitted once for each page that gets rendered to the preview.
A handler for this signal should update the
contextaccording topage_setupand set up a suitable cairo context, using Gtk.PrintContext.set_cairo_context.