libadwaita::subclass::prelude

Trait PrintOperationImpl

Source
pub trait PrintOperationImpl: PrintOperationImplExt + PrintOperationPreviewImpl {
    // Provided methods
    fn begin_print(&self, context: &PrintContext) { ... }
    fn create_custom_widget(&self) -> Option<Widget> { ... }
    fn custom_widget_apply(&self, widget: &Widget) { ... }
    fn done(&self, result: PrintOperationResult) { ... }
    fn draw_page(&self, context: &PrintContext, page_nr: i32) { ... }
    fn end_print(&self, context: &PrintContext) { ... }
    fn paginate(&self, context: &PrintContext) -> bool { ... }
    fn preview(
        &self,
        preview: &PrintOperationPreview,
        context: &PrintContext,
        parent: Option<&Window>,
    ) -> bool { ... }
    fn request_page_setup(
        &self,
        context: &PrintContext,
        page_nr: i32,
        setup: &PageSetup,
    ) { ... }
    fn status_changed(&self) { ... }
    fn update_custom_widget(
        &self,
        widget: &Widget,
        setup: &PageSetup,
        settings: &PrintSettings,
    ) { ... }
}

Provided Methods§

Source

fn begin_print(&self, context: &PrintContext)

Source

fn create_custom_widget(&self) -> Option<Widget>

Source

fn custom_widget_apply(&self, widget: &Widget)

Source

fn done(&self, result: PrintOperationResult)

Source

fn draw_page(&self, context: &PrintContext, page_nr: i32)

Source

fn end_print(&self, context: &PrintContext)

Source

fn paginate(&self, context: &PrintContext) -> bool

Source

fn preview( &self, preview: &PrintOperationPreview, context: &PrintContext, parent: Option<&Window>, ) -> bool

Source

fn request_page_setup( &self, context: &PrintContext, page_nr: i32, setup: &PageSetup, )

Source

fn status_changed(&self)

Source

fn update_custom_widget( &self, widget: &Widget, setup: &PageSetup, settings: &PrintSettings, )

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§