run_dialog
Description:
Run the print dialog and start printing.
Run the print dialog and start printing using the options selected by the user. This method returns when the print dialog is closed. If the print dialog is cancelled webkit_print_operation_response_cancel is returned. If the user clicks on the print button, webkit_print_operation_response_print is returned and the print operation starts. In this case, the finished signal is emitted when the operation finishes. If an error occurs while printing, the signal failed is emitted before finished. If the print dialog is not cancelled current print settings and page setup of this are updated with options selected by the user when Print button is pressed in print dialog. You can get the updated print settings and page setup by calling get_print_settings and get_page_setup after this method.
Parameters:
this | |
parent |
transient parent of the print dialog |
Returns:
the PrintOperationResponse of the print dialog |