Gtk2::TextView
- NAME
- HIERARCHY
- INTERFACES
- METHODS
- widget = Gtk2::TextView->new
- widget = Gtk2::TextView->new_with_buffer ($buffer)
- boolean = $text_view->get_accepts_tab
- $text_view->set_accepts_tab ($accepts_tab)
- $text_view->add_child_at_anchor ($child, $anchor)
- $text_view->add_child_in_window ($child, $which_window, $xpos, $ypos)
- boolean = $text_view->backward_display_line ($iter)
- boolean = $text_view->backward_display_line_start ($iter)
- integer = $text_view->get_border_window_size ($type)
- $text_view->set_border_window_size ($type, $size)
- textbuffer = $text_view->get_buffer
- $text_view->set_buffer ($buffer)
- (window_x, window_y) = $text_view->buffer_to_window_coords ($win, $buffer_x, $buffer_y)
- boolean = $text_view->get_cursor_visible
- $text_view->set_cursor_visible ($setting)
- textattributes = $text_view->get_default_attributes
- boolean = $text_view->get_editable
- $text_view->set_editable ($setting)
- boolean = $text_view->forward_display_line ($iter)
- boolean = $text_view->forward_display_line_end ($iter)
- integer = $text_view->get_indent
- $text_view->set_indent ($indent)
- textiter = $text_view->get_iter_at_location ($x, $y)
- ($iter, $trailing) = $text_view->get_iter_at_position ($x, $y)
- $iter = $text_view->get_iter_at_position ($x, $y)
- rectangle = $text_view->get_iter_location ($iter)
- justification = $text_view->get_justification
- $text_view->set_justification ($justification)
- integer = $text_view->get_left_margin
- $text_view->set_left_margin ($left_margin)
- (target_iter, line_top) = $text_view->get_line_at_y ($y)
- (y, height) = $text_view->get_line_yrange ($iter)
- $text_view->move_child ($child, $xpos, $ypos)
- boolean = $text_view->move_mark_onscreen ($mark)
- boolean = $text_view->move_visually ($iter, $count)
- boolean = $text_view->get_overwrite
- $text_view->set_overwrite ($overwrite)
- integer = $text_view->get_pixels_above_lines
- $text_view->set_pixels_above_lines ($pixels_above_lines)
- integer = $text_view->get_pixels_below_lines
- $text_view->set_pixels_below_lines ($pixels_below_lines)
- integer = $text_view->get_pixels_inside_wrap
- $text_view->set_pixels_inside_wrap ($pixels_inside_wrap)
- boolean = $text_view->place_cursor_onscreen
- integer = $text_view->get_right_margin
- $text_view->set_right_margin ($right_margin)
- $text_view->scroll_mark_onscreen ($mark)
- boolean = $text_view->scroll_to_iter ($iter, $within_margin, $use_align, $xalign, $yalign)
- $text_view->scroll_to_mark ($mark, $within_margin, $use_align, $xalign, $yalign)
- boolean = $text_view->starts_display_line ($iter)
- tabarray = $text_view->get_tabs
- $text_view->set_tabs ($tabs)
- rectangle = $text_view->get_visible_rect
- window = $text_view->get_window ($win)
- (buffer_x, buffer_y) = $text_view->window_to_buffer_coords ($win, $window_x, $window_y)
- textwindowtype = $text_view->get_window_type ($window)
- wrapmode = $text_view->get_wrap_mode
- $text_view->set_wrap_mode ($wrap_mode)
- PROPERTIES
- SIGNALS
- ENUMS AND FLAGS
- SEE ALSO
- COPYRIGHT
Gtk2::TextView
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::TextView
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
Since: gtk+ 2.4
Since: gtk+ 2.4
Retrieves the iterator pointing to the character at buffer coordinates x and y.
Buffer coordinates are coordinates for the entire buffer, not just the
currently-displayed portion. If you have coordinates from an event, you
have to convert those to buffer coordinates with
$text_view->window_to_buffer_coords()
.
Note that this is different from $text_view->get_iter_at_location()
,
which returns cursor locations, i.e. positions between characters.
Since: gtk+ 2.6
Since: gtk+ 2.4
Since: gtk+ 2.4
- 'accepts-tab' (boolean : readable / writable / private)
-
Whether Tab will result in a tab character being entered
- 'buffer' (Gtk2::TextBuffer : readable / writable / private)
-
The buffer which is displayed
- 'cursor-visible' (boolean : readable / writable / private)
-
If the insertion cursor is shown
- 'editable' (boolean : readable / writable / private)
-
Whether the text can be modified by the user
- 'indent' (integer : readable / writable / private)
-
Amount to indent the paragraph, in pixels
- 'justification' (Gtk2::Justification : readable / writable / private)
-
Left, right, or center justification
- 'left-margin' (integer : readable / writable / private)
-
Width of the left margin in pixels
- 'overwrite' (boolean : readable / writable / private)
-
Whether entered text overwrites existing contents
- 'pixels-above-lines' (integer : readable / writable / private)
-
Pixels of blank space above paragraphs
- 'pixels-below-lines' (integer : readable / writable / private)
-
Pixels of blank space below paragraphs
- 'pixels-inside-wrap' (integer : readable / writable / private)
-
Pixels of blank space between wrapped lines in a paragraph
- 'right-margin' (integer : readable / writable / private)
-
Width of the right margin in pixels
- 'tabs' (Pango::TabArray : readable / writable / private)
-
Custom tabs for this text
- 'wrap-mode' (Gtk2::WrapMode : readable / writable / private)
-
Whether to wrap lines never, at word boundaries, or at character boundaries
- set-scroll-adjustments (Gtk2::TextView, Gtk2::Adjustment, Gtk2::Adjustment)
- select-all (Gtk2::TextView, boolean)
- move-cursor (Gtk2::TextView, Gtk2::MovementStep, integer, boolean)
- populate-popup (Gtk2::TextView, Gtk2::Menu)
- insert-at-cursor (Gtk2::TextView, string)
- delete-from-cursor (Gtk2::TextView, Gtk2::DeleteType, integer)
- backspace (Gtk2::TextView)
- cut-clipboard (Gtk2::TextView)
- copy-clipboard (Gtk2::TextView)
- paste-clipboard (Gtk2::TextView)
- toggle-overwrite (Gtk2::TextView)
- page-horizontally (Gtk2::TextView, integer, boolean)
- move-viewport (Gtk2::TextView, GtkScrollStep, integer)
- set-anchor (Gtk2::TextView)
- toggle-cursor-visible (Gtk2::TextView)
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
[Top]
Generated by Marek::Pod::HTML 0.49 on Wed Dec 16 23:04:03 2009