Trait webkit2gtk::PrintOperationExt
source · pub trait PrintOperationExt: 'static {
// Required 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;
}
Required 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>
sourcefn connect_create_custom_widget<F: Fn(&Self) -> PrintCustomWidget + 'static>(
&self,
f: F
) -> SignalHandlerId
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.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
Object Safety§
This trait is not object safe.