pub trait PrintOperationPreviewExt: 'static {
    // Required 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;
}

Required 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

Implementors§