pub trait PrintOperationImplExt: ObjectSubclass {
// Required methods
fn parent_begin_print(
&self,
print_operation: &Self::Type,
context: &PrintContext
);
fn parent_create_custom_widget(
&self,
print_operation: &Self::Type
) -> Option<Widget>;
fn parent_custom_widget_apply(
&self,
print_operation: &Self::Type,
widget: &Widget
);
fn parent_done(
&self,
print_operation: &Self::Type,
result: PrintOperationResult
);
fn parent_draw_page(
&self,
print_operation: &Self::Type,
context: &PrintContext,
page_nr: i32
);
fn parent_end_print(
&self,
print_operation: &Self::Type,
context: &PrintContext
);
fn parent_paginate(
&self,
print_operation: &Self::Type,
context: &PrintContext
) -> bool;
fn parent_preview(
&self,
print_operation: &Self::Type,
preview: &PrintOperationPreview,
context: &PrintContext,
parent: Option<&Window>
) -> bool;
fn parent_request_page_setup(
&self,
print_operation: &Self::Type,
context: &PrintContext,
page_nr: i32,
setup: &PageSetup
);
fn parent_status_changed(&self, print_operation: &Self::Type);
fn parent_update_custom_widget(
&self,
print_operation: &Self::Type,
widget: &Widget,
setup: &PageSetup,
settings: &PrintSettings
);
}