Trait gtk4::prelude::PrintOperationPreviewExt
source · [−]pub trait PrintOperationPreviewExt: 'static {
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)
sourcefn connect_got_page_size<F: Fn(&Self, &PrintContext, &PageSetup) + 'static>(
fn connect_got_page_size<F: Fn(&Self, &PrintContext, &PageSetup) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_ready<F: Fn(&Self, &PrintContext) + 'static>(