Glib::Boxed
+----Gtk2::TextIter
boolean = $iter->backward_chars ($count)
boolean = $iter->backward_cursor_positions
($count)
boolean = $iter->backward_find_char ($pred,
$user_data=undef, $limit=undef)
- $pred (scalar)
- $user_data (scalar)
- $limit (Gtk2::TextIter or undef)
boolean = $iter->backward_lines ($count)
(match_start, match_end) = $iter->backward_search
($str, $flags, $limit=NULL)
- $str (string)
- $flags (Gtk2::TextSearchFlags)
- $limit (Gtk2::TextIter or undef)
boolean = $iter->backward_sentence_starts ($count)
boolean = $iter->backward_to_tag_toggle ($tag)
- $tag (Gtk2::TextTag or undef)
boolean = $iter->backward_visible_cursor_position
Since: gtk+ 2.4
boolean = $iter->backward_visible_cursor_positions
($count)
Since: gtk+ 2.4
boolean = $iter->backward_visible_line
Since: gtk+ 2.8
boolean = $iter->backward_visible_lines ($count)
Since: gtk+ 2.8
boolean = $iter->backward_visible_word_start
Since: gtk+ 2.4
boolean = $iter->backward_visible_word_starts
($count)
Since: gtk+ 2.4
boolean = $iter->backward_word_starts ($count)
boolean = $iter->begins_tag ($tag)
- $tag (Gtk2::TextTag or undef)
boolean = $iter->can_insert ($default_editability)
- $default_editability (boolean)
boolean = $iter->editable ($default_setting)
- $default_setting (boolean)
boolean = $iter->ends_tag ($tag)
- $tag (Gtk2::TextTag or undef)
boolean = $iter->forward_chars ($count)
boolean = $iter->forward_cursor_positions ($count)
boolean = $iter->forward_find_char ($pred,
$user_data=undef, $limit=undef)
- $pred (scalar)
- $user_data (scalar)
- $limit (Gtk2::TextIter or undef)
boolean = $iter->forward_lines ($count)
(match_start, match_end) = $iter->forward_search ($str,
$flags, $limit=NULL)
- $str (string)
- $flags (Gtk2::TextSearchFlags)
- $limit (Gtk2::TextIter or undef)
boolean = $iter->forward_sentence_ends ($count)
boolean = $iter->forward_to_tag_toggle ($tag)
- $tag (Gtk2::TextTag or undef)
boolean = $iter->forward_visible_cursor_position
Since: gtk+ 2.4
boolean = $iter->forward_visible_cursor_positions
($count)
Since: gtk+ 2.4
boolean = $iter->forward_visible_line
Since: gtk+ 2.8
boolean = $iter->forward_visible_lines ($count)
Since: gtk+ 2.8
boolean = $iter->forward_visible_word_end
Since: gtk+ 2.4
boolean = $iter->forward_visible_word_ends
($count)
Since: gtk+ 2.4
boolean = $iter->forward_word_ends ($count)
boolean = $iter->has_tag ($tag)
boolean = $iter->in_range ($start, $end)
- $start (Gtk2::TextIter)
- $end (Gtk2::TextIter)
$iter->set_line_index ($byte_on_line)
$iter->set_line_offset ($char_on_line)
$iter->set_line ($line_number)
list = $iter->get_marks
Returns a list of all Gtk2::TextMark at this location. Because
marks are not iterable (they don't take up any "space" in the
buffer, they are just marks in between iterable locations), multiple marks
can exist in the same place. The returned list is not in any meaningful
order.
$iter->set_offset ($char_offset)
string = $start->get_slice ($end)
list = $iter->get_tags
Returns a list of tags that apply to iter, in ascending order of
priority (highest-priority tags are last).
string = $start->get_text ($end)
list = $iter->get_toggled_tags ($toggled_on)
Returns a list of Gtk2::TextTag that are toggled on or off at this
point. (If toggled_on is TRUE, the list contains tags that are toggled on.)
If a tag is toggled on at iter, then some non-empty range of characters
following iter has that tag applied to it. If a tag is toggled off, then
some non-empty range following iter does not have the tag applied to it.
boolean = $iter->toggles_tag ($tag)
- $tag (Gtk2::TextTag or undef)
$iter->set_visible_line_index ($byte_on_line)
$iter->set_visible_line_offset ($char_on_line)
string = $start->get_visible_slice ($end)
string = $start->get_visible_text ($end)
- 'visible-only' / 'GTK_TEXT_SEARCH_VISIBLE_ONLY'
- 'text-only' / 'GTK_TEXT_SEARCH_TEXT_ONLY'
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full
notice.