Rechercher une page de manuel
Gtk2::SourceView::View.3pm
Langue: en
Version: 2008-01-16 (mandriva - 01/05/08)
Section: 3 (Bibliothèques de fonctions)
NAME
Gtk2::SourceView::ViewHIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::TextView +----Gtk2::SourceView::View
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable
METHODS
widget = Gtk2::SourceView::View->new
widget = Gtk2::SourceView::View->new_with_buffer ($buffer)
-
- •
- $buffer (Gtk2::SourceView::Buffer)
boolean = $view->get_auto_indent
boolean = $view->get_auto_indent
$view->set_auto_indent ($enable)
$view->set_auto_indent ($enable)
-
- •
- $enable (boolean)
boolean = $view->get_highlight_current_line
boolean = $view->get_highlight_current_line
- Since: gtk_source_view 1.2
$view->set_highlight_current_line ($show)
$view->set_highlight_current_line ($show)
-
- •
- $show (boolean)
Since: gtk_source_view 1.2
boolean = $view->get_insert_spaces_instead_of_tabs
boolean = $view->get_insert_spaces_instead_of_tabs
$view->set_insert_spaces_instead_of_tabs ($enable)
$view->set_insert_spaces_instead_of_tabs ($enable)
-
- •
- $enable (boolean)
integer = $view->get_margin
integer = $view->get_margin
$view->set_margin ($margin)
$view->set_margin ($margin)
-
- •
- $margin (integer)
GdkPixbuf_noinc or undef = $view->get_marker_pixbuf ($marker_type)
GdkPixbuf_noinc or undef = $view->get_marker_pixbuf ($marker_type)
-
- •
- $marker_type (string)
$view->set_marker_pixbuf ($marker_type, $pixbuf)
$view->set_marker_pixbuf ($marker_type, $pixbuf)
-
- •
- $marker_type (string)
- •
- $pixbuf (Gtk2::Gdk::Pixbuf or undef)
boolean = $view->get_show_line_markers
boolean = $view->get_show_line_markers
$view->set_show_line_markers ($show)
$view->set_show_line_markers ($show)
-
- •
- $show (boolean)
boolean = $view->get_show_line_numbers
boolean = $view->get_show_line_numbers
$view->set_show_line_numbers ($show)
$view->set_show_line_numbers ($show)
-
- •
- $show (boolean)
boolean = $view->get_show_margin
boolean = $view->get_show_margin
$view->set_show_margin ($show)
$view->set_show_margin ($show)
-
- •
- $show (boolean)
boolean = $view->get_smart_home_end
boolean = $view->get_smart_home_end
$view->set_smart_home_end ($enable)
$view->set_smart_home_end ($enable)
-
- •
- $enable (boolean)
integer = $view->get_tabs_width
integer = $view->get_tabs_width
$view->set_tabs_width ($width)
$view->set_tabs_width ($width)
-
- •
- $width (integer)
PROPERTIES
- 'auto-indent' (boolean : readable / writable)
- Whether to enable auto indentation
- 'highlight-current-line' (boolean : readable / writable)
- Whether to highlight the current line
- 'indent-on-tab' (boolean : readable / writable)
- Whether to indent the selected text when the tab key is pressed
- '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::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::TextViewCOPYRIGHT
Copyright (C) 2008 Gtk2-Perl TeamContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre