Struct gtk4::builders::PrintDialogBuilder
source · pub struct PrintDialogBuilder { /* private fields */ }
Available on crate feature
v4_14
only.Expand description
A builder-pattern type to construct PrintDialog
objects.
Implementations§
source§impl PrintDialogBuilder
impl PrintDialogBuilder
pub fn accept_label(self, accept_label: impl Into<GString>) -> Self
pub fn modal(self, modal: bool) -> Self
pub fn page_setup(self, page_setup: &PageSetup) -> Self
pub fn print_settings(self, print_settings: &PrintSettings) -> Self
pub fn title(self, title: impl Into<GString>) -> Self
sourcepub fn build(self) -> PrintDialog
pub fn build(self) -> PrintDialog
Build the PrintDialog
.
Auto Trait Implementations§
impl RefUnwindSafe for PrintDialogBuilder
impl !Send for PrintDialogBuilder
impl !Sync for PrintDialogBuilder
impl Unpin for PrintDialogBuilder
impl UnwindSafe for PrintDialogBuilder
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