libadwaita::subclass::prelude

Trait PrintOperationImpl

source
pub trait PrintOperationImpl: PrintOperationPreviewImpl + ObjectSubclass
where Self::Type: IsA<PrintOperation>,
{ // 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§