gtk4::subclass::print_operation_preview

Trait PrintOperationPreviewImpl

Source
pub trait PrintOperationPreviewImpl: ObjectImpl + ObjectSubclass<Type: IsA<PrintOperationPreview>> {
    // Required methods
    fn render_page(&self, page_nr: i32);
    fn is_selected(&self, page_nr: i32) -> bool;
    fn end_preview(&self);

    // Provided methods
    fn ready(&self, context: &PrintContext) { ... }
    fn got_page_size(&self, context: &PrintContext, page_setup: &PageSetup) { ... }
}

Required Methods§

Source

fn render_page(&self, page_nr: i32)

Source

fn is_selected(&self, page_nr: i32) -> bool

Source

fn end_preview(&self)

Provided Methods§

Source

fn ready(&self, context: &PrintContext)

Source

fn got_page_size(&self, context: &PrintContext, page_setup: &PageSetup)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§