gtk+-2.0 Reference Manual

Synopsis

public class PrintOperation : Object, PrintOperationPreview  {
    public    weak bool                 allow_async               { get; set; } ;
    public    weak int                  current_page              { get; set; } ;
    public    weak string               custom_tab_label          { get; set; } ;
    public    weak PageSetup            default_page_setup        { get; set; } ;
    public    weak string               export_filename           { get; set; } ;
    public    weak string               job_name                  { get; set; } ;
    public    weak int                  n_pages                   { get; set; } ;
    public    weak PrintSettings        print_settings            { get; set; } ;
    public    weak bool                 show_progress             { get; set; } ;
    public    weak PrintStatus          status                    { get; } ;
    public    weak string               status_string             { get; } ;
    public    weak bool                 track_print_status        { get; set; } ;
    public    weak Unit                 unit                      { get; set; } ;
    public    weak bool                 use_full_page             { get; set; } ;


    public                              PrintOperation            (  ) ;


    public    signal void               begin_print               ( PrintContext        context )  ;
    public    signal weak GLib.Object   create_custom_widget      (  )  ;
    public    signal void               custom_widget_apply       ( Widget              widget )  ;
    public    signal void               done                      ( PrintOperationResultresult )  ;
    public    signal void               draw_page                 ( PrintContext        context,
                                                                    int                 page_nr )  ;
    public    signal void               end_print                 ( PrintContext        context )  ;
    public    signal bool               paginate                  ( PrintContext        context )  ;
    public    signal bool               preview                   ( PrintOperationPreview preview,
                                                                    PrintContext        context,
                                                                    Window              parent )  ;
    public    signal void               request_page_setup        ( PrintContext        context,
                                                                    int                 page_nr,
                                                                    PageSetup           setup )  ;
    public    signal void               status_changed            (  )  ;


    public    void                      cancel                    (  ) ;
    public    weak PageSetup            get_default_page_setup    (  ) ;
    public    void                      get_error                 (  ) 
                                                             throws GLib.Error;
    public    weak PrintSettings        get_print_settings        (  ) ;
    public    PrintStatus               get_status                (  ) ;
    public    weak string               get_status_string         (  ) ;
    public    bool                      is_finished               (  ) ;
    public    PrintOperationResult      run                       ( PrintOperationActionaction,
                                                                    Window              parent ) 
                                                             throws GLib.Error;
    public    void                      set_allow_async           ( bool                allow_async ) ;
    public    void                      set_current_page          ( int                 current_page ) ;
    public    void                      set_custom_tab_label      ( string              label ) ;
    public    void                      set_default_page_setup    ( PageSetup           default_page_setup ) ;
    public    void                      set_export_filename       ( string              filename ) ;
    public    void                      set_job_name              ( string              job_name ) ;
    public    void                      set_n_pages               ( int                 n_pages ) ;
    public    void                      set_print_settings        ( PrintSettings       print_settings ) ;
    public    void                      set_show_progress         ( bool                show_progress ) ;
    public    void                      set_track_print_status    ( bool                track_status ) ;
    public    void                      set_unit                  ( Unit                unit ) ;
    public    void                      set_use_full_page         ( bool                full_page ) ;
}

PrintOperation Description

Details

Constructor Details

PrintOperation ()
    public                              PrintOperation            (  ) ;		

Field Details

Signal Details

begin_print
    public    signal void               begin_print               ( PrintContext        context )  ;		

create_custom_widget
    public    signal weak GLib.Object   create_custom_widget      (  )  ;		

custom_widget_apply
    public    signal void               custom_widget_apply       ( Widget              widget )  ;		

done
    public    signal void               done                      ( PrintOperationResultresult )  ;		

draw_page
    public    signal void               draw_page                 ( PrintContext        context,
                                                                    int                 page_nr )  ;		

end_print
    public    signal void               end_print                 ( PrintContext        context )  ;		

paginate
    public    signal bool               paginate                  ( PrintContext        context )  ;		

preview
    public    signal bool               preview                   ( PrintOperationPreview preview,
                                                                    PrintContext        context,
                                                                    Window              parent )  ;		

request_page_setup
    public    signal void               request_page_setup        ( PrintContext        context,
                                                                    int                 page_nr,
                                                                    PageSetup           setup )  ;		

status_changed
    public    signal void               status_changed            (  )  ;		

Property Details

allow_async
    public    weak bool                 allow_async               { get; set; } ;		

current_page
    public    weak int                  current_page              { get; set; } ;		

custom_tab_label
    public    weak string               custom_tab_label          { get; set; } ;		

default_page_setup
    public    weak PageSetup            default_page_setup        { get; set; } ;		

export_filename
    public    weak string               export_filename           { get; set; } ;		

job_name
    public    weak string               job_name                  { get; set; } ;		

n_pages
    public    weak int                  n_pages                   { get; set; } ;		

print_settings
    public    weak PrintSettings        print_settings            { get; set; } ;		

show_progress
    public    weak bool                 show_progress             { get; set; } ;		

status
    public    weak PrintStatus          status                    { get; } ;		

status_string
    public    weak string               status_string             { get; } ;		

track_print_status
    public    weak bool                 track_print_status        { get; set; } ;		

unit
    public    weak Unit                 unit                      { get; set; } ;		

use_full_page
    public    weak bool                 use_full_page             { get; set; } ;		

Method Details

cancel ()
    public    void                      cancel                    (  ) ;		

get_default_page_setup ()
    public    weak PageSetup            get_default_page_setup    (  ) ;		

get_error ()
    public    void                      get_error                 (  ) 
                                                             throws GLib.Error;		

get_print_settings ()
    public    weak PrintSettings        get_print_settings        (  ) ;		

get_status ()
    public    PrintStatus               get_status                (  ) ;		

get_status_string ()
    public    weak string               get_status_string         (  ) ;		

is_finished ()
    public    bool                      is_finished               (  ) ;		

run ()
    public    PrintOperationResult      run                       ( PrintOperationActionaction,
                                                                    Window              parent ) 
                                                             throws GLib.Error;		

set_allow_async ()
    public    void                      set_allow_async           ( bool                allow_async ) ;		

set_current_page ()
    public    void                      set_current_page          ( int                 current_page ) ;		

set_custom_tab_label ()
    public    void                      set_custom_tab_label      ( string              label ) ;		

set_default_page_setup ()
    public    void                      set_default_page_setup    ( PageSetup           default_page_setup ) ;		

set_export_filename ()
    public    void                      set_export_filename       ( string              filename ) ;		

set_job_name ()
    public    void                      set_job_name              ( string              job_name ) ;		

set_n_pages ()
    public    void                      set_n_pages               ( int                 n_pages ) ;		

set_print_settings ()
    public    void                      set_print_settings        ( PrintSettings       print_settings ) ;		

set_show_progress ()
    public    void                      set_show_progress         ( bool                show_progress ) ;		

set_track_print_status ()
    public    void                      set_track_print_status    ( bool                track_status ) ;		

set_unit ()
    public    void                      set_unit                  ( Unit                unit ) ;		

set_use_full_page ()
    public    void                      set_use_full_page         ( bool                full_page ) ;		


Created by Valadoc