Gtk.PrintOperation.prototype.cancel
function cancel():void {
// Gjs wrapper for gtk_print_operation_cancel()
}Cancels a running print operation. This function may be called from a Gtk.begin-print, Gtk.paginate or Gtk.draw-page signal handler to stop the currently running print operation.
Since 2.10