gtk+-2.0 Reference Manual

Synopsis

public class PaperSize : Boxed  {
    public                              PaperSize                 ( string              name ) ;
    public                              PaperSize.custom          ( string              name,
                                                                    string              display_name,
                                                                    double              width,
                                                                    double              height,
                                                                    Unit                unit ) ;
    public                              PaperSize.from_key_file   ( GLib.KeyFile        key_file,
                                                                    string              group_name ) 
                                                             throws GLib.Error;
    public                              PaperSize.from_ppd        ( string              ppd_name,
                                                                    string              ppd_display_name,
                                                                    double              width,
                                                                    double              height ) ;


    public    weak PaperSize            copy                      (  ) ;
    public    static weak string        get_default               (  ) ;
    public    double                    get_default_bottom_margin ( Unit                unit ) ;
    public    double                    get_default_left_margin   ( Unit                unit ) ;
    public    double                    get_default_right_margin  ( Unit                unit ) ;
    public    double                    get_default_top_margin    ( Unit                unit ) ;
    public    weak string               get_display_name          (  ) ;
    public    double                    get_height                ( Unit                unit ) ;
    public    weak string               get_name                  (  ) ;
    public    static weak GLib.List     get_paper_sizes           ( bool                include_custom ) ;
    public    weak string               get_ppd_name              (  ) ;
    public    double                    get_width                 ( Unit                unit ) ;
    public    bool                      is_custom                 (  ) ;
    public    bool                      is_equal                  ( PaperSize           size2 ) ;
    public    void                      set_size                  ( double              width,
                                                                    double              height,
                                                                    Unit                unit ) ;
    public    void                      to_key_file               ( GLib.KeyFile        key_file,
                                                                    string              group_name ) ;
}

PaperSize Description

Details

Constructor Details

PaperSize ()
    public                              PaperSize                 ( string              name ) ;		

PaperSize.custom ()
    public                              PaperSize.custom          ( string              name,
                                                                    string              display_name,
                                                                    double              width,
                                                                    double              height,
                                                                    Unit                unit ) ;		

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

PaperSize.from_ppd ()
    public                              PaperSize.from_ppd        ( string              ppd_name,
                                                                    string              ppd_display_name,
                                                                    double              width,
                                                                    double              height ) ;		

Field Details

Signal Details

Property Details

Method Details

copy ()
    public    weak PaperSize            copy                      (  ) ;		

get_default ()
    public    static weak string        get_default               (  ) ;		

get_default_bottom_margin ()
    public    double                    get_default_bottom_margin ( Unit                unit ) ;		

get_default_left_margin ()
    public    double                    get_default_left_margin   ( Unit                unit ) ;		

get_default_right_margin ()
    public    double                    get_default_right_margin  ( Unit                unit ) ;		

get_default_top_margin ()
    public    double                    get_default_top_margin    ( Unit                unit ) ;		

get_display_name ()
    public    weak string               get_display_name          (  ) ;		

get_height ()
    public    double                    get_height                ( Unit                unit ) ;		

get_name ()
    public    weak string               get_name                  (  ) ;		

get_paper_sizes ()
    public    static weak GLib.List     get_paper_sizes           ( bool                include_custom ) ;		

get_ppd_name ()
    public    weak string               get_ppd_name              (  ) ;		

get_width ()
    public    double                    get_width                 ( Unit                unit ) ;		

is_custom ()
    public    bool                      is_custom                 (  ) ;		

is_equal ()
    public    bool                      is_equal                  ( PaperSize           size2 ) ;		

set_size ()
    public    void                      set_size                  ( double              width,
                                                                    double              height,
                                                                    Unit                unit ) ;		

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


Created by Valadoc