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
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: impl Into<GString>) -> 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: impl Into<GString>) -> Self
pub fn has_selection(self, has_selection: bool) -> Self
pub fn job_name(self, job_name: impl Into<GString>) -> 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
sourcepub fn build(self) -> PrintOperation
pub fn build(self) -> PrintOperation
Build the PrintOperation
.
Auto Trait Implementations§
impl RefUnwindSafe for PrintOperationBuilder
impl !Send for PrintOperationBuilder
impl !Sync for PrintOperationBuilder
impl Unpin for PrintOperationBuilder
impl UnwindSafe for PrintOperationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more