signal callback delegate or function to connect
bool callback(webkit.print_operation.PrintOperation printOperation, webkit.web_view.WebView webView)
printOperation the #WebKitPrintOperation that will handle the print request (optional)
webView the instance the signal is connected to (optional)
Returns true to stop other handlers from being invoked for the event. false to propagate the event further.
Yes.After to execute callback after default handler, No.After to execute before (default)
Signal ID
Connect to Print signal.
Emitted when printing is requested on web_view, usually by a JavaScript call, before the print dialog is shown. This signal can be used to set the initial print settings and page setup of print_operation to be used as default values in the print dialog. You can call webkit.print_operation.PrintOperation.setPrintSettings and webkit.print_operation.PrintOperation.setPageSetup and then return false to propagate the event so that the print dialog is shown.
You can connect to this signal and return true to cancel the print operation or implement your own print dialog.