Trait gtk4::subclass::print_operation::PrintOperationImpl
source · [−]pub trait PrintOperationImpl: PrintOperationImplExt + PrintOperationPreviewImpl {
fn begin_print(&self, print_operation: &Self::Type, context: &PrintContext) { ... }
fn create_custom_widget(
&self,
print_operation: &Self::Type
) -> Option<Widget> { ... }
fn custom_widget_apply(&self, print_operation: &Self::Type, widget: &Widget) { ... }
fn done(&self, print_operation: &Self::Type, result: PrintOperationResult) { ... }
fn draw_page(
&self,
print_operation: &Self::Type,
context: &PrintContext,
page_nr: i32
) { ... }
fn end_print(&self, print_operation: &Self::Type, context: &PrintContext) { ... }
fn paginate(
&self,
print_operation: &Self::Type,
context: &PrintContext
) -> bool { ... }
fn preview(
&self,
print_operation: &Self::Type,
preview: &PrintOperationPreview,
context: &PrintContext,
parent: Option<&Window>
) -> bool { ... }
fn request_page_setup(
&self,
print_operation: &Self::Type,
context: &PrintContext,
page_nr: i32,
setup: &PageSetup
) { ... }
fn status_changed(&self, print_operation: &Self::Type) { ... }
fn update_custom_widget(
&self,
print_operation: &Self::Type,
widget: &Widget,
setup: &PageSetup,
settings: &PrintSettings
) { ... }
}
Provided Methods
source
fn begin_print(&self, print_operation: &Self::Type, context: &PrintContext)
source
fn create_custom_widget(&self, print_operation: &Self::Type) -> Option<Widget>
source
fn custom_widget_apply(&self, print_operation: &Self::Type, widget: &Widget)
source
fn done(&self, print_operation: &Self::Type, result: PrintOperationResult)
sourcefn draw_page(
fn draw_page(
&self,
print_operation: &Self::Type,
context: &PrintContext,
page_nr: i32
)
source
fn end_print(&self, print_operation: &Self::Type, context: &PrintContext)
source
fn paginate(&self, print_operation: &Self::Type, context: &PrintContext) -> bool
sourcefn preview(
fn preview(
&self,
print_operation: &Self::Type,
preview: &PrintOperationPreview,
context: &PrintContext,
parent: Option<&Window>
) -> bool
sourcefn request_page_setup(
fn request_page_setup(
&self,
print_operation: &Self::Type,
context: &PrintContext,
page_nr: i32,
setup: &PageSetup
)
source
fn status_changed(&self, print_operation: &Self::Type)
sourcefn update_custom_widget(