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
Sourcepub fn accept_label(self, accept_label: impl Into<GString>) -> Self
pub fn accept_label(self, accept_label: impl Into<GString>) -> Self
A label that may be shown on the accept button of a print dialog
that is presented by PrintDialog::setup().
Sourcepub fn page_setup(self, page_setup: &PageSetup) -> Self
pub fn page_setup(self, page_setup: &PageSetup) -> Self
The page setup to use.
Sourcepub fn print_settings(self, print_settings: &PrintSettings) -> Self
pub fn print_settings(self, print_settings: &PrintSettings) -> Self
The print settings to use.
Sourcepub fn title(self, title: impl Into<GString>) -> Self
pub fn title(self, title: impl Into<GString>) -> Self
A title that may be shown on the print dialog that is
presented by PrintDialog::setup().
Sourcepub fn build(self) -> PrintDialog
pub fn build(self) -> PrintDialog
Build the PrintDialog.