Next:
Gtk2::TextMark
Previous:
Gtk2::TextChildAnchor
 [Gtk2-Perl - Table of Contents][Gtk2-Perl - Index]

Gtk2::TextIter



NAME

Gtk2::TextIter

HIERARCHY

  Glib::Boxed
  +----Gtk2::TextIter

METHODS

textattributes = $iter->get_attributes

boolean = $iter->backward_char

boolean = $iter->backward_chars ($count)

boolean = $iter->backward_cursor_position

boolean = $iter->backward_cursor_positions ($count)

boolean = $iter->backward_find_char ($pred, $user_data=undef, $limit=undef)

boolean = $iter->backward_line

boolean = $iter->backward_lines ($count)

(match_start, match_end) = $iter->forward_search ($str, $flags, $limit=NULL)

boolean = $iter->backward_sentence_start

boolean = $iter->backward_sentence_starts ($count)

boolean = $iter->backward_to_tag_toggle ($tag)

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_start

boolean = $iter->backward_word_starts ($count)

boolean = $iter->begins_tag ($tag)

textbuffer = $iter->get_buffer

integer = $iter->get_bytes_in_line

boolean = $iter->can_insert ($default_editability)

character = $iter->get_char

integer = $iter->get_chars_in_line

textchildanchor or undef = $iter->get_child_anchor

integer = $lhs->compare ($rhs)

boolean = $iter->editable ($default_setting)

boolean = $iter->ends_line

boolean = $iter->ends_sentence

boolean = $iter->ends_tag ($tag)

boolean = $iter->ends_word

boolean = $lhs->equal ($rhs)

boolean = $iter->forward_char

boolean = $iter->forward_chars ($count)

boolean = $iter->forward_cursor_position

boolean = $iter->forward_cursor_positions ($count)

boolean = $iter->forward_find_char ($pred, $user_data=undef, $limit=undef)

boolean = $iter->forward_line

boolean = $iter->forward_lines ($count)

(match_start, match_end) = $iter->forward_search ($str, $flags, $limit=NULL)

boolean = $iter->forward_sentence_end

boolean = $iter->forward_sentence_ends ($count)

$iter->forward_to_end

boolean = $iter->forward_to_line_end

boolean = $iter->forward_to_tag_toggle ($tag)

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_end

boolean = $iter->forward_word_ends ($count)

boolean = $iter->has_tag ($tag)

boolean = $iter->in_range ($start, $end)

boolean = $iter->inside_sentence

boolean = $iter->inside_word

boolean = $iter->is_cursor_position

boolean = $iter->is_end

boolean = $iter->is_start

language = $iter->get_language

integer = $iter->get_line

integer = $iter->get_line_index

$iter->set_line_index ($byte_on_line)

integer = $iter->get_line_offset

$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.

integer = $iter->get_offset

$iter->set_offset ($char_offset)

$first->order ($second)

pixbuf or undef = $iter->get_pixbuf

string = $start->get_slice ($end)

boolean = $iter->starts_line

boolean = $iter->starts_sentence

boolean = $iter->starts_word

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)

integer = $iter->get_visible_line_index

$iter->set_visible_line_index ($byte_on_line)

integer = $iter->get_visible_line_offset

$iter->set_visible_line_offset ($char_on_line)

string = $start->get_visible_slice ($end)

string = $start->get_visible_text ($end)

ENUMS AND FLAGS

flags Gtk2::TextSearchFlags

SEE ALSO

Gtk2, Glib::Boxed

COPYRIGHT

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:03:58 2009