TypeScript API Documentation for GTK
API Version: 3.0
Library Version: 3.24.53
Generated with TypeDoc via ts-for-gir v5.2.0
Signal
Run Last
The ::got-page-size signal is 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_print_context_set_cairo_context().
context
page_setup
gtk_print_context_set_cairo_context()
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.
The ::got-page-size signal is 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, usinggtk_print_context_set_cairo_context().