pub trait PrintOperationExt: IsA<PrintOperation> + Sealed + 'static {
    // Provided methods
    fn page_setup(&self) -> Option<PageSetup> { ... }
    fn print_settings(&self) -> Option<PrintSettings> { ... }
    fn print(&self) { ... }
    fn run_dialog(
        &self,
        parent: Option<&impl IsA<Window>>
    ) -> PrintOperationResponse { ... }
    fn set_page_setup(&self, page_setup: &PageSetup) { ... }
    fn set_print_settings(&self, print_settings: &PrintSettings) { ... }
    fn web_view(&self) -> Option<WebView> { ... }
    fn connect_create_custom_widget<F: Fn(&Self) -> PrintCustomWidget + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
    fn connect_failed<F: Fn(&Self, &Error) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
    fn connect_finished<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
    fn connect_page_setup_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
    fn connect_print_settings_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn page_setup(&self) -> Option<PageSetup>

source

fn print_settings(&self) -> Option<PrintSettings>

source

fn print(&self)

source

fn run_dialog( &self, parent: Option<&impl IsA<Window>> ) -> PrintOperationResponse

source

fn set_page_setup(&self, page_setup: &PageSetup)

source

fn set_print_settings(&self, print_settings: &PrintSettings)

source

fn web_view(&self) -> Option<WebView>

source

fn connect_create_custom_widget<F: Fn(&Self) -> PrintCustomWidget + 'static>( &self, f: F ) -> SignalHandlerId

👎Deprecated: Since 2.40
Available on crate feature v2_16 only.
source

fn connect_failed<F: Fn(&Self, &Error) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_finished<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_page_setup_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_print_settings_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§