Struct gtk4::builders::PrintOperationBuilder
source · pub struct PrintOperationBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct PrintOperation
objects.
Implementations§
source§impl PrintOperationBuilder
impl PrintOperationBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new PrintOperationBuilder
.
sourcepub fn build(self) -> PrintOperation
pub fn build(self) -> PrintOperation
Build the PrintOperation
.
pub fn allow_async(self, allow_async: bool) -> Self
pub fn current_page(self, current_page: i32) -> Self
pub fn custom_tab_label(self, custom_tab_label: &str) -> Self
pub fn default_page_setup(self, default_page_setup: &PageSetup) -> Self
pub fn embed_page_setup(self, embed_page_setup: bool) -> Self
pub fn export_filename(self, export_filename: &str) -> Self
pub fn has_selection(self, has_selection: bool) -> Self
pub fn job_name(self, job_name: &str) -> Self
pub fn n_pages(self, n_pages: i32) -> Self
pub fn print_settings(self, print_settings: &PrintSettings) -> Self
pub fn show_progress(self, show_progress: bool) -> Self
pub fn support_selection(self, support_selection: bool) -> Self
pub fn track_print_status(self, track_print_status: bool) -> Self
pub fn unit(self, unit: Unit) -> Self
pub fn use_full_page(self, use_full_page: bool) -> Self
Trait Implementations§
source§impl Clone for PrintOperationBuilder
impl Clone for PrintOperationBuilder
source§fn clone(&self) -> PrintOperationBuilder
fn clone(&self) -> PrintOperationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for PrintOperationBuilder
impl Default for PrintOperationBuilder
source§fn default() -> PrintOperationBuilder
fn default() -> PrintOperationBuilder
Returns the “default value” for a type. Read more