Gtk.PrintOperation.prototype.set_defer_drawing

function set_defer_drawing():void {
    // Gjs wrapper for gtk_print_operation_set_defer_drawing()
}

Sets up the Gtk.PrintOperation to wait for calling of Gtk.PrintOperation.prototype.draw_page_finish from application. It can be used for drawing page in another thread.

This function must be called in the callback of "draw-page" signal.

Since 2.16