[][src]Trait gtk::PrintOperationExt

pub trait PrintOperationExt: 'static {
    fn cancel(&self);
fn draw_page_finish(&self);
fn get_default_page_setup(&self) -> Option<PageSetup>;
fn get_embed_page_setup(&self) -> bool;
fn get_error(&self) -> Result<(), Error>;
fn get_has_selection(&self) -> bool;
fn get_n_pages_to_print(&self) -> i32;
fn get_print_settings(&self) -> Option<PrintSettings>;
fn get_status(&self) -> PrintStatus;
fn get_status_string(&self) -> Option<GString>;
fn get_support_selection(&self) -> bool;
fn is_finished(&self) -> bool;
fn run<'a, P: IsA<Window> + 'a, Q: Into<Option<&'a P>>>(
        &self,
        action: PrintOperationAction,
        parent: Q
    ) -> Result<PrintOperationResult, Error>;
fn set_allow_async(&self, allow_async: bool);
fn set_current_page(&self, current_page: i32);
fn set_custom_tab_label<'a, P: Into<Option<&'a str>>>(&self, label: P);
fn set_default_page_setup<'a, P: Into<Option<&'a PageSetup>>>(
        &self,
        default_page_setup: P
    );
fn set_defer_drawing(&self);
fn set_embed_page_setup(&self, embed: bool);
fn set_export_filename<P: AsRef<Path>>(&self, filename: P);
fn set_has_selection(&self, has_selection: bool);
fn set_job_name(&self, job_name: &str);
fn set_n_pages(&self, n_pages: i32);
fn set_print_settings<'a, P: Into<Option<&'a PrintSettings>>>(
        &self,
        print_settings: P
    );
fn set_show_progress(&self, show_progress: bool);
fn set_support_selection(&self, support_selection: bool);
fn set_track_print_status(&self, track_status: bool);
fn set_unit(&self, unit: Unit);
fn set_use_full_page(&self, full_page: bool);
fn get_property_allow_async(&self) -> bool;
fn get_property_current_page(&self) -> i32;
fn get_property_custom_tab_label(&self) -> Option<GString>;
fn get_property_export_filename(&self) -> Option<GString>;
fn get_property_job_name(&self) -> Option<GString>;
fn get_property_n_pages(&self) -> i32;
fn get_property_show_progress(&self) -> bool;
fn get_property_track_print_status(&self) -> bool;
fn get_property_unit(&self) -> Unit;
fn get_property_use_full_page(&self) -> bool;
fn connect_begin_print<F: Fn(&Self, &PrintContext) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_create_custom_widget<F: Fn(&Self) -> Object + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_custom_widget_apply<F: Fn(&Self, &Widget) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_done<F: Fn(&Self, PrintOperationResult) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_draw_page<F: Fn(&Self, &PrintContext, i32) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_end_print<F: Fn(&Self, &PrintContext) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_paginate<F: Fn(&Self, &PrintContext) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_preview<F: Fn(&Self, &PrintOperationPreview, &PrintContext, &Option<Window>) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_request_page_setup<F: Fn(&Self, &PrintContext, i32, &PageSetup) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_status_changed<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_update_custom_widget<F: Fn(&Self, &Widget, &PageSetup, &PrintSettings) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_allow_async_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_current_page_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_custom_tab_label_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_default_page_setup_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_embed_page_setup_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_export_filename_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_has_selection_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_job_name_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_n_pages_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_n_pages_to_print_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_print_settings_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_show_progress_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_status_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_status_string_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_support_selection_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_track_print_status_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_unit_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_use_full_page_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn cancel(&self)

fn draw_page_finish(&self)

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

fn get_embed_page_setup(&self) -> bool

fn get_error(&self) -> Result<(), Error>

fn get_has_selection(&self) -> bool

fn get_n_pages_to_print(&self) -> i32

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

fn get_status(&self) -> PrintStatus

fn get_status_string(&self) -> Option<GString>

fn get_support_selection(&self) -> bool

fn is_finished(&self) -> bool

fn run<'a, P: IsA<Window> + 'a, Q: Into<Option<&'a P>>>(
    &self,
    action: PrintOperationAction,
    parent: Q
) -> Result<PrintOperationResult, Error>

fn set_allow_async(&self, allow_async: bool)

fn set_current_page(&self, current_page: i32)

fn set_custom_tab_label<'a, P: Into<Option<&'a str>>>(&self, label: P)

fn set_default_page_setup<'a, P: Into<Option<&'a PageSetup>>>(
    &self,
    default_page_setup: P
)

fn set_defer_drawing(&self)

fn set_embed_page_setup(&self, embed: bool)

fn set_export_filename<P: AsRef<Path>>(&self, filename: P)

fn set_has_selection(&self, has_selection: bool)

fn set_job_name(&self, job_name: &str)

fn set_n_pages(&self, n_pages: i32)

fn set_print_settings<'a, P: Into<Option<&'a PrintSettings>>>(
    &self,
    print_settings: P
)

fn set_show_progress(&self, show_progress: bool)

fn set_support_selection(&self, support_selection: bool)

fn set_track_print_status(&self, track_status: bool)

fn set_unit(&self, unit: Unit)

fn set_use_full_page(&self, full_page: bool)

fn get_property_allow_async(&self) -> bool

fn get_property_current_page(&self) -> i32

fn get_property_custom_tab_label(&self) -> Option<GString>

fn get_property_export_filename(&self) -> Option<GString>

fn get_property_job_name(&self) -> Option<GString>

fn get_property_n_pages(&self) -> i32

fn get_property_show_progress(&self) -> bool

fn get_property_track_print_status(&self) -> bool

fn get_property_unit(&self) -> Unit

fn get_property_use_full_page(&self) -> bool

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

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

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

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

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

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

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

fn connect_preview<F: Fn(&Self, &PrintOperationPreview, &PrintContext, &Option<Window>) -> bool + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_request_page_setup<F: Fn(&Self, &PrintContext, i32, &PageSetup) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

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

fn connect_update_custom_widget<F: Fn(&Self, &Widget, &PageSetup, &PrintSettings) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading content...

Implementors

impl<O: IsA<PrintOperation>> PrintOperationExt for O[src]

Loading content...