A WebKitPrintCustomWidget allows to embed a custom widget in the print dialog by connecting to the #WebKitPrintOperation::create-custom-widget signal, creating a new WebKitPrintCustomWidget with webkit_print_custom_widget_new() and returning it from there. You can later use webkit_print_operation_run_dialog() to display the dialog.