pub trait PrintOperationImpl: PrintOperationImplExt + PrintOperationPreviewImpl {
// Provided methods
fn begin_print(&self, context: &PrintContext) { ... }
fn create_custom_widget(&self) -> Option<Widget> { ... }
fn custom_widget_apply(&self, widget: &Widget) { ... }
fn done(&self, result: PrintOperationResult) { ... }
fn draw_page(&self, context: &PrintContext, page_nr: i32) { ... }
fn end_print(&self, context: &PrintContext) { ... }
fn paginate(&self, context: &PrintContext) -> bool { ... }
fn preview(
&self,
preview: &PrintOperationPreview,
context: &PrintContext,
parent: Option<&Window>
) -> bool { ... }
fn request_page_setup(
&self,
context: &PrintContext,
page_nr: i32,
setup: &PageSetup
) { ... }
fn status_changed(&self) { ... }
fn update_custom_widget(
&self,
widget: &Widget,
setup: &PageSetup,
settings: &PrintSettings
) { ... }
}