pub trait PrintOperationPreviewImpl: ObjectImpl {
// Required methods
fn render_page(&self, print_operation_preview: &Self::Type, page_nr: i32);
fn is_selected(
&self,
print_operation_preview: &Self::Type,
page_nr: i32
) -> bool;
fn end_preview(&self, print_operation_preview: &Self::Type);
// Provided methods
fn ready(
&self,
print_operation_preview: &Self::Type,
context: &PrintContext
) { ... }
fn got_page_size(
&self,
print_operation_preview: &Self::Type,
context: &PrintContext,
page_setup: &PageSetup
) { ... }
}