man Gtk2::SourceView::View () - Gtk2::SourceView::View

NAME

Gtk2::SourceView::View

HIERARCHY

  Glib::Object
  +----Glib::Object::_Unregistered::GInitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::TextView
                           +----Gtk2::SourceView::View

INTERFACES

  Gtk2::Atk::ImplementorIface

METHODS

widget = Gtk2::SourceView::View->new

widget = Gtk2::SourceView::View->new_with_buffer ($buffer)

$view->set_auto_indent ($enable)

$view->set_highlight_current_line ($show)

$view->set_insert_spaces_instead_of_tabs ($enable)

$view->set_margin ($margin)

$view->set_show_line_markers ($show)

$view->set_show_line_numbers ($show)

$view->set_show_margin ($show)

$view->set_smart_home_end ($enable)

$view->set_tabs_width ($width)

PROPERTIES

'auto-indent' (boolean : readable / writable)
Whether to enable auto indentation
'highlight-current-line' (boolean : readable / writable)
Whether to highlight the current line
'insert-spaces-instead-of-tabs' (boolean : readable / writable)
Whether to insert spaces instead of tabs
'margin' (Glib::UInt : readable / writable)
Position of the right margin
'show-line-markers' (boolean : readable / writable)
Whether to display line marker pixbufs
'show-line-numbers' (boolean : readable / writable)
Whether to display line numbers
'show-margin' (boolean : readable / writable)
Whether to display the right margin
'smart-home-end' (boolean : readable / writable)
HOME and END keys move to first/last non whitespace characters on line before going to the start/end of the line
'tabs-width' (Glib::UInt : readable / writable)
Tabs Width

SIGNALS

undo (Gtk2::SourceView::View)
redo (Gtk2::SourceView::View)

SEE ALSO

Glib::Object, Glib::Object::_Unregistered::GInitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::TextView

COPYRIGHT

Copyright (C) 2006 Gtk2-Perl Team