gtksourceview-2.0 Reference Manual

Synopsis

public class SourcePrintCompositor : Object  {
    public    weak string               body_font_name            { get; set; } ;
    public    weak SourceBuffer         buffer                    { get; construct } ;
    public    weak string               footer_font_name          { get; set; } ;
    public    weak string               header_font_name          { get; set; } ;
    public    weak bool                 highlight_syntax          { get; set; } ;
    public    weak string               line_numbers_font_name    { get; set; } ;
    public    weak int                  n_pages                   { get; } ;
    public    weak bool                 print_footer              { get; set; } ;
    public    weak bool                 print_header              { get; set; } ;
    public    weak uint                 print_line_numbers        { get; set; } ;
    public    weak uint                 tab_width                 { get; set; } ;
    public    weak WrapMode             wrap_mode                 { get; set; } ;


    public                              SourcePrintCompositor     ( SourceBuffer        buffer ) ;
    public                              SourcePrintCompositor.from_view ( SourceView          view ) ;


    public    void                      draw_page                 ( PrintContext        context,
                                                                    int                 page_nr ) ;
    public    weak string               get_body_font_name        (  ) ;
    public    double                    get_bottom_margin         ( Unit                unit ) ;
    public    weak SourceBuffer         get_buffer                (  ) ;
    public    weak string               get_footer_font_name      (  ) ;
    public    weak string               get_header_font_name      (  ) ;
    public    bool                      get_highlight_syntax      (  ) ;
    public    double                    get_left_margin           ( Unit                unit ) ;
    public    weak string               get_line_numbers_font_name (  ) ;
    public    int                       get_n_pages               (  ) ;
    public    double                    get_pagination_progress   (  ) ;
    public    bool                      get_print_footer          (  ) ;
    public    bool                      get_print_header          (  ) ;
    public    uint                      get_print_line_numbers    (  ) ;
    public    double                    get_right_margin          ( Unit                unit ) ;
    public    uint                      get_tab_width             (  ) ;
    public    double                    get_top_margin            ( Unit                unit ) ;
    public    WrapMode                  get_wrap_mode             (  ) ;
    public    bool                      paginate                  ( PrintContext        context ) ;
    public    void                      set_body_font_name        ( string              font_name ) ;
    public    void                      set_bottom_margin         ( double              margin,
                                                                    Unit                unit ) ;
    public    void                      set_footer_font_name      ( string              font_name ) ;
    public    void                      set_footer_format         ( bool                separator,
                                                                    string              left,
                                                                    string              center,
                                                                    string              right ) ;
    public    void                      set_header_font_name      ( string              font_name ) ;
    public    void                      set_header_format         ( bool                separator,
                                                                    string              left,
                                                                    string              center,
                                                                    string              right ) ;
    public    void                      set_highlight_syntax      ( bool                highlight ) ;
    public    void                      set_left_margin           ( double              margin,
                                                                    Unit                unit ) ;
    public    void                      set_line_numbers_font_name ( string              font_name ) ;
    public    void                      set_print_footer          ( bool                print ) ;
    public    void                      set_print_header          ( bool                print ) ;
    public    void                      set_print_line_numbers    ( uint                interval ) ;
    public    void                      set_right_margin          ( double              margin,
                                                                    Unit                unit ) ;
    public    void                      set_tab_width             ( uint                width ) ;
    public    void                      set_top_margin            ( double              margin,
                                                                    Unit                unit ) ;
    public    void                      set_wrap_mode             ( WrapMode            wrap_mode ) ;
}

SourcePrintCompositor Description

Details

Constructor Details

SourcePrintCompositor ()
    public                              SourcePrintCompositor     ( SourceBuffer        buffer ) ;		

SourcePrintCompositor.from_view ()
    public                              SourcePrintCompositor.from_view ( SourceView          view ) ;		

Field Details

Signal Details

Property Details

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

buffer
    public    weak SourceBuffer         buffer                    { get; construct } ;		

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

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

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

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

n_pages
    public    weak int                  n_pages                   { get; } ;		

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

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

print_line_numbers
    public    weak uint                 print_line_numbers        { get; set; } ;		

tab_width
    public    weak uint                 tab_width                 { get; set; } ;		

wrap_mode
    public    weak WrapMode             wrap_mode                 { get; set; } ;		

Method Details

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

get_body_font_name ()
    public    weak string               get_body_font_name        (  ) ;		

get_bottom_margin ()
    public    double                    get_bottom_margin         ( Unit                unit ) ;		

get_buffer ()
    public    weak SourceBuffer         get_buffer                (  ) ;		

get_footer_font_name ()
    public    weak string               get_footer_font_name      (  ) ;		

get_header_font_name ()
    public    weak string               get_header_font_name      (  ) ;		

get_highlight_syntax ()
    public    bool                      get_highlight_syntax      (  ) ;		

get_left_margin ()
    public    double                    get_left_margin           ( Unit                unit ) ;		

get_line_numbers_font_name ()
    public    weak string               get_line_numbers_font_name (  ) ;		

get_n_pages ()
    public    int                       get_n_pages               (  ) ;		

get_pagination_progress ()
    public    double                    get_pagination_progress   (  ) ;		

get_print_footer ()
    public    bool                      get_print_footer          (  ) ;		

get_print_header ()
    public    bool                      get_print_header          (  ) ;		

get_print_line_numbers ()
    public    uint                      get_print_line_numbers    (  ) ;		

get_right_margin ()
    public    double                    get_right_margin          ( Unit                unit ) ;		

get_tab_width ()
    public    uint                      get_tab_width             (  ) ;		

get_top_margin ()
    public    double                    get_top_margin            ( Unit                unit ) ;		

get_wrap_mode ()
    public    WrapMode                  get_wrap_mode             (  ) ;		

paginate ()
    public    bool                      paginate                  ( PrintContext        context ) ;		

set_body_font_name ()
    public    void                      set_body_font_name        ( string              font_name ) ;		

set_bottom_margin ()
    public    void                      set_bottom_margin         ( double              margin,
                                                                    Unit                unit ) ;		

set_footer_font_name ()
    public    void                      set_footer_font_name      ( string              font_name ) ;		

set_footer_format ()
    public    void                      set_footer_format         ( bool                separator,
                                                                    string              left,
                                                                    string              center,
                                                                    string              right ) ;		

set_header_font_name ()
    public    void                      set_header_font_name      ( string              font_name ) ;		

set_header_format ()
    public    void                      set_header_format         ( bool                separator,
                                                                    string              left,
                                                                    string              center,
                                                                    string              right ) ;		

set_highlight_syntax ()
    public    void                      set_highlight_syntax      ( bool                highlight ) ;		

set_left_margin ()
    public    void                      set_left_margin           ( double              margin,
                                                                    Unit                unit ) ;		

set_line_numbers_font_name ()
    public    void                      set_line_numbers_font_name ( string              font_name ) ;		

set_print_footer ()
    public    void                      set_print_footer          ( bool                print ) ;		

set_print_header ()
    public    void                      set_print_header          ( bool                print ) ;		

set_print_line_numbers ()
    public    void                      set_print_line_numbers    ( uint                interval ) ;		

set_right_margin ()
    public    void                      set_right_margin          ( double              margin,
                                                                    Unit                unit ) ;		

set_tab_width ()
    public    void                      set_tab_width             ( uint                width ) ;		

set_top_margin ()
    public    void                      set_top_margin            ( double              margin,
                                                                    Unit                unit ) ;		

set_wrap_mode ()
    public    void                      set_wrap_mode             ( WrapMode            wrap_mode ) ;		


Created by Valadoc