PrintOperationPreviewExt

Trait PrintOperationPreviewExt 

Source
pub trait PrintOperationPreviewExt: IsA<PrintOperationPreview> + 'static {
    // Provided methods
    fn end_preview(&self) { ... }
    fn is_selected(&self, page_nr: i32) -> bool { ... }
    fn render_page(&self, page_nr: i32) { ... }
    fn connect_got_page_size<F: Fn(&Self, &PrintContext, &PageSetup) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_ready<F: Fn(&Self, &PrintContext) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn end_preview(&self)

Source

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

Source

fn render_page(&self, page_nr: i32)

Source

fn connect_got_page_size<F: Fn(&Self, &PrintContext, &PageSetup) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_ready<F: Fn(&Self, &PrintContext) + 'static>( &self, f: F, ) -> SignalHandlerId

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§