gtk+-2.0 Reference Manual

Synopsis

public class PrintSettings : Object  {
    public                              PrintSettings             (  ) ;
    public                              PrintSettings.from_file   ( string              file_name ) 
                                                             throws GLib.Error;
    public                              PrintSettings.from_key_file ( GLib.KeyFile        key_file,
                                                                    string              group_name ) 
                                                             throws GLib.Error;


    public    weak PrintSettings        copy                      (  ) ;
    public    void                      foreach                   ( PrintSettingsFunc   func ) ;
    public    weak string               get                       ( string              key ) ;
    public    bool                      get_bool                  ( string              key ) ;
    public    bool                      get_collate               (  ) ;
    public    weak string               get_default_source        (  ) ;
    public    weak string               get_dither                (  ) ;
    public    double                    get_double                ( string              key ) ;
    public    double                    get_double_with_default   ( string              key,
                                                                    double              def ) ;
    public    PrintDuplex               get_duplex                (  ) ;
    public    weak string               get_finishings            (  ) ;
    public    int                       get_int                   ( string              key ) ;
    public    int                       get_int_with_default      ( string              key,
                                                                    int                 def ) ;
    public    double                    get_length                ( string              key,
                                                                    Unit                unit ) ;
    public    weak string               get_media_type            (  ) ;
    public    int                       get_n_copies              (  ) ;
    public    int                       get_number_up             (  ) ;
    public    PageOrientation           get_orientation           (  ) ;
    public    weak string               get_output_bin            (  ) ;
    public    weak PageRange            get_page_ranges           ( int                 num_ranges ) ;
    public    PageSet                   get_page_set              (  ) ;
    public    double                    get_paper_height          ( Unit                unit ) ;
    public    weak PaperSize            get_paper_size            (  ) ;
    public    double                    get_paper_width           ( Unit                unit ) ;
    public    PrintPages                get_print_pages           (  ) ;
    public    weak string               get_printer               (  ) ;
    public    PrintQuality              get_quality               (  ) ;
    public    int                       get_resolution            (  ) ;
    public    bool                      get_reverse               (  ) ;
    public    double                    get_scale                 (  ) ;
    public    bool                      get_use_color             (  ) ;
    public    bool                      has_key                   ( string              key ) ;
    public    void                      set                       ( string              key,
                                                                    string              value ) ;
    public    void                      set_bool                  ( string              key,
                                                                    bool                value ) ;
    public    void                      set_collate               ( bool                collate ) ;
    public    void                      set_default_source        ( string              default_source ) ;
    public    void                      set_dither                ( string              dither ) ;
    public    void                      set_double                ( string              key,
                                                                    double              value ) ;
    public    void                      set_duplex                ( PrintDuplex         duplex ) ;
    public    void                      set_finishings            ( string              finishings ) ;
    public    void                      set_int                   ( string              key,
                                                                    int                 value ) ;
    public    void                      set_length                ( string              key,
                                                                    double              value,
                                                                    Unit                unit ) ;
    public    void                      set_media_type            ( string              media_type ) ;
    public    void                      set_n_copies              ( int                 num_copies ) ;
    public    void                      set_number_up             ( int                 number_up ) ;
    public    void                      set_orientation           ( PageOrientation     orientation ) ;
    public    void                      set_output_bin            ( string              output_bin ) ;
    public    void                      set_page_ranges           ( PageRange           page_ranges,
                                                                    int                 num_ranges ) ;
    public    void                      set_page_set              ( PageSet             page_set ) ;
    public    void                      set_paper_height          ( double              height,
                                                                    Unit                unit ) ;
    public    void                      set_paper_size            ( PaperSize           paper_size ) ;
    public    void                      set_paper_width           ( double              width,
                                                                    Unit                unit ) ;
    public    void                      set_print_pages           ( PrintPages          pages ) ;
    public    void                      set_printer               ( string              printer ) ;
    public    void                      set_quality               ( PrintQuality        quality ) ;
    public    void                      set_resolution            ( int                 resolution ) ;
    public    void                      set_reverse               ( bool                reverse ) ;
    public    void                      set_scale                 ( double              scale ) ;
    public    void                      set_use_color             ( bool                use_color ) ;
    public    bool                      to_file                   ( string              file_name ) 
                                                             throws GLib.Error;
    public    void                      to_key_file               ( GLib.KeyFile        key_file,
                                                                    string              group_name ) ;
    public    void                      unset                     ( string              key ) ;
}

PrintSettings Description

Details

Constructor Details

PrintSettings ()
    public                              PrintSettings             (  ) ;		

PrintSettings.from_file ()
    public                              PrintSettings.from_file   ( string              file_name ) 
                                                             throws GLib.Error;		

PrintSettings.from_key_file ()
    public                              PrintSettings.from_key_file ( GLib.KeyFile        key_file,
                                                                    string              group_name ) 
                                                             throws GLib.Error;		

Field Details

Signal Details

Property Details

Method Details

copy ()
    public    weak PrintSettings        copy                      (  ) ;		

foreach ()
    public    void                      foreach                   ( PrintSettingsFunc   func ) ;		

get ()
    public    weak string               get                       ( string              key ) ;		

get_bool ()
    public    bool                      get_bool                  ( string              key ) ;		

get_collate ()
    public    bool                      get_collate               (  ) ;		

get_default_source ()
    public    weak string               get_default_source        (  ) ;		

get_dither ()
    public    weak string               get_dither                (  ) ;		

get_double ()
    public    double                    get_double                ( string              key ) ;		

get_double_with_default ()
    public    double                    get_double_with_default   ( string              key,
                                                                    double              def ) ;		

get_duplex ()
    public    PrintDuplex               get_duplex                (  ) ;		

get_finishings ()
    public    weak string               get_finishings            (  ) ;		

get_int ()
    public    int                       get_int                   ( string              key ) ;		

get_int_with_default ()
    public    int                       get_int_with_default      ( string              key,
                                                                    int                 def ) ;		

get_length ()
    public    double                    get_length                ( string              key,
                                                                    Unit                unit ) ;		

get_media_type ()
    public    weak string               get_media_type            (  ) ;		

get_n_copies ()
    public    int                       get_n_copies              (  ) ;		

get_number_up ()
    public    int                       get_number_up             (  ) ;		

get_orientation ()
    public    PageOrientation           get_orientation           (  ) ;		

get_output_bin ()
    public    weak string               get_output_bin            (  ) ;		

get_page_ranges ()
    public    weak PageRange            get_page_ranges           ( int                 num_ranges ) ;		

get_page_set ()
    public    PageSet                   get_page_set              (  ) ;		

get_paper_height ()
    public    double                    get_paper_height          ( Unit                unit ) ;		

get_paper_size ()
    public    weak PaperSize            get_paper_size            (  ) ;		

get_paper_width ()
    public    double                    get_paper_width           ( Unit                unit ) ;		

get_print_pages ()
    public    PrintPages                get_print_pages           (  ) ;		

get_printer ()
    public    weak string               get_printer               (  ) ;		

get_quality ()
    public    PrintQuality              get_quality               (  ) ;		

get_resolution ()
    public    int                       get_resolution            (  ) ;		

get_reverse ()
    public    bool                      get_reverse               (  ) ;		

get_scale ()
    public    double                    get_scale                 (  ) ;		

get_use_color ()
    public    bool                      get_use_color             (  ) ;		

has_key ()
    public    bool                      has_key                   ( string              key ) ;		

set ()
    public    void                      set                       ( string              key,
                                                                    string              value ) ;		

set_bool ()
    public    void                      set_bool                  ( string              key,
                                                                    bool                value ) ;		

set_collate ()
    public    void                      set_collate               ( bool                collate ) ;		

set_default_source ()
    public    void                      set_default_source        ( string              default_source ) ;		

set_dither ()
    public    void                      set_dither                ( string              dither ) ;		

set_double ()
    public    void                      set_double                ( string              key,
                                                                    double              value ) ;		

set_duplex ()
    public    void                      set_duplex                ( PrintDuplex         duplex ) ;		

set_finishings ()
    public    void                      set_finishings            ( string              finishings ) ;		

set_int ()
    public    void                      set_int                   ( string              key,
                                                                    int                 value ) ;		

set_length ()
    public    void                      set_length                ( string              key,
                                                                    double              value,
                                                                    Unit                unit ) ;		

set_media_type ()
    public    void                      set_media_type            ( string              media_type ) ;		

set_n_copies ()
    public    void                      set_n_copies              ( int                 num_copies ) ;		

set_number_up ()
    public    void                      set_number_up             ( int                 number_up ) ;		

set_orientation ()
    public    void                      set_orientation           ( PageOrientation     orientation ) ;		

set_output_bin ()
    public    void                      set_output_bin            ( string              output_bin ) ;		

set_page_ranges ()
    public    void                      set_page_ranges           ( PageRange           page_ranges,
                                                                    int                 num_ranges ) ;		

set_page_set ()
    public    void                      set_page_set              ( PageSet             page_set ) ;		

set_paper_height ()
    public    void                      set_paper_height          ( double              height,
                                                                    Unit                unit ) ;		

set_paper_size ()
    public    void                      set_paper_size            ( PaperSize           paper_size ) ;		

set_paper_width ()
    public    void                      set_paper_width           ( double              width,
                                                                    Unit                unit ) ;		

set_print_pages ()
    public    void                      set_print_pages           ( PrintPages          pages ) ;		

set_printer ()
    public    void                      set_printer               ( string              printer ) ;		

set_quality ()
    public    void                      set_quality               ( PrintQuality        quality ) ;		

set_resolution ()
    public    void                      set_resolution            ( int                 resolution ) ;		

set_reverse ()
    public    void                      set_reverse               ( bool                reverse ) ;		

set_scale ()
    public    void                      set_scale                 ( double              scale ) ;		

set_use_color ()
    public    void                      set_use_color             ( bool                use_color ) ;		

to_file ()
    public    bool                      to_file                   ( string              file_name ) 
                                                             throws GLib.Error;		

to_key_file ()
    public    void                      to_key_file               ( GLib.KeyFile        key_file,
                                                                    string              group_name ) ;		

unset ()
    public    void                      unset                     ( string              key ) ;		


Created by Valadoc