gtksourceview-2.0 Reference Manual

Synopsis

public class SourceView : TextView, Implementor, Buildable  {
    public    weak bool                 auto_indent               { get; set; } ;
    public    weak bool                 highlight_current_line    { get; set; } ;
    public    weak bool                 indent_on_tab             { get; set; } ;
    public    weak int                  indent_width              { get; set; } ;
    public    weak bool                 insert_spaces_instead_of_tabs { get; set; } ;
    public    weak uint                 right_margin_position     { get; set; } ;
    public    weak bool                 show_line_marks           { get; set; } ;
    public    weak bool                 show_line_numbers         { get; set; } ;
    public    weak bool                 show_right_margin         { get; set; } ;
    public    weak SourceSmartHomeEndType  smart_home_end            { get; set; } ;
    public    weak uint                 tab_width                 { get; set; } ;


    public                              SourceView                (  ) ;
    public                              SourceView.with_buffer    ( SourceBuffer        buffer ) ;


    public    signal void               redo                      (  )  ;
    public    signal void               undo                      (  )  ;


    public    bool                      get_auto_indent           (  ) ;
    public    bool                      get_highlight_current_line (  ) ;
    public    bool                      get_indent_on_tab         (  ) ;
    public    int                       get_indent_width          (  ) ;
    public    bool                      get_insert_spaces_instead_of_tabs (  ) ;
    public    weak Gdk.Pixbuf           get_mark_category_pixbuf  ( string              category ) ;
    public    int                       get_mark_category_priority ( string              category ) ;
    public    uint                      get_right_margin_position (  ) ;
    public    bool                      get_show_line_marks       (  ) ;
    public    bool                      get_show_line_numbers     (  ) ;
    public    bool                      get_show_right_margin     (  ) ;
    public    SourceSmartHomeEndType    get_smart_home_end        (  ) ;
    public    uint                      get_tab_width             (  ) ;
    public    void                      set_auto_indent           ( bool                enable ) ;
    public    void                      set_highlight_current_line ( bool                show ) ;
    public    void                      set_indent_on_tab         ( bool                enable ) ;
    public    void                      set_indent_width          ( int                 width ) ;
    public    void                      set_insert_spaces_instead_of_tabs ( bool                enable ) ;
    public    void                      set_mark_category_pixbuf  ( string              category,
                                                                    Gdk.Pixbuf          pixbuf ) ;
    public    void                      set_mark_category_priority ( string              category,
                                                                    int                 priority ) ;
    public    void                      set_right_margin_position ( uint                pos ) ;
    public    void                      set_show_line_marks       ( bool                show ) ;
    public    void                      set_show_line_numbers     ( bool                show ) ;
    public    void                      set_show_right_margin     ( bool                show ) ;
    public    void                      set_smart_home_end        ( SourceSmartHomeEndType smart_he ) ;
    public    void                      set_tab_width             ( uint                width ) ;
}

SourceView Description

Details

Constructor Details

SourceView ()
    public                              SourceView                (  ) ;		

SourceView.with_buffer ()
    public                              SourceView.with_buffer    ( SourceBuffer        buffer ) ;		

Field Details

Signal Details

redo
    public    signal void               redo                      (  )  ;		

undo
    public    signal void               undo                      (  )  ;		

Property Details

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

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

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

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

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

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

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

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

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

smart_home_end
    public    weak SourceSmartHomeEndType  smart_home_end            { get; set; } ;		

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

Method Details

get_auto_indent ()
    public    bool                      get_auto_indent           (  ) ;		

get_highlight_current_line ()
    public    bool                      get_highlight_current_line (  ) ;		

get_indent_on_tab ()
    public    bool                      get_indent_on_tab         (  ) ;		

get_indent_width ()
    public    int                       get_indent_width          (  ) ;		

get_insert_spaces_instead_of_tabs ()
    public    bool                      get_insert_spaces_instead_of_tabs (  ) ;		

get_mark_category_pixbuf ()
    public    weak Gdk.Pixbuf           get_mark_category_pixbuf  ( string              category ) ;		

get_mark_category_priority ()
    public    int                       get_mark_category_priority ( string              category ) ;		

get_right_margin_position ()
    public    uint                      get_right_margin_position (  ) ;		

get_show_line_marks ()
    public    bool                      get_show_line_marks       (  ) ;		

get_show_line_numbers ()
    public    bool                      get_show_line_numbers     (  ) ;		

get_show_right_margin ()
    public    bool                      get_show_right_margin     (  ) ;		

get_smart_home_end ()
    public    SourceSmartHomeEndType    get_smart_home_end        (  ) ;		

get_tab_width ()
    public    uint                      get_tab_width             (  ) ;		

set_auto_indent ()
    public    void                      set_auto_indent           ( bool                enable ) ;		

set_highlight_current_line ()
    public    void                      set_highlight_current_line ( bool                show ) ;		

set_indent_on_tab ()
    public    void                      set_indent_on_tab         ( bool                enable ) ;		

set_indent_width ()
    public    void                      set_indent_width          ( int                 width ) ;		

set_insert_spaces_instead_of_tabs ()
    public    void                      set_insert_spaces_instead_of_tabs ( bool                enable ) ;		

set_mark_category_pixbuf ()
    public    void                      set_mark_category_pixbuf  ( string              category,
                                                                    Gdk.Pixbuf          pixbuf ) ;		

set_mark_category_priority ()
    public    void                      set_mark_category_priority ( string              category,
                                                                    int                 priority ) ;		

set_right_margin_position ()
    public    void                      set_right_margin_position ( uint                pos ) ;		

set_show_line_marks ()
    public    void                      set_show_line_marks       ( bool                show ) ;		

set_show_line_numbers ()
    public    void                      set_show_line_numbers     ( bool                show ) ;		

set_show_right_margin ()
    public    void                      set_show_right_margin     ( bool                show ) ;		

set_smart_home_end ()
    public    void                      set_smart_home_end        ( SourceSmartHomeEndType smart_he ) ;		

set_tab_width ()
    public    void                      set_tab_width             ( uint                width ) ;		


Created by Valadoc