class Gtk::TextIter
- Gtk::TextIter
- Reference
- Object
Overview
An iterator for the contents of a Gtk::TextBuffer
.
You may wish to begin by reading the text widget conceptual overview, which gives an overview of all the objects and data types related to the text widget and how they work together.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/text_iter.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibGtk::TextIter, transfer : GICrystal::Transfer)
- .new(dummy3 : Int32? = nil, dummy4 : Int32? = nil, dummy5 : Int32? = nil, dummy6 : Int32? = nil, dummy7 : Int32? = nil, dummy8 : Int32? = nil, dummy11 : Int32? = nil, dummy12 : Int32? = nil, dummy13 : Int32? = nil)
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#==(other : self) : Bool
Returns
true
if this reference is the same as other. - #assign(other : Gtk::TextIter) : Nil
- #backward_char : Bool
- #backward_chars(count : Int32) : Bool
- #backward_cursor_position : Bool
- #backward_cursor_positions(count : Int32) : Bool
- #backward_find_char(pred : Gtk::TextCharPredicate, user_data : Pointer(Void)?, limit : Gtk::TextIter?) : Bool
- #backward_line : Bool
- #backward_lines(count : Int32) : Bool
- #backward_search(str : String, flags : Gtk::TextSearchFlags, limit : Gtk::TextIter?) : Gtk::TextIter
- #backward_sentence_start : Bool
- #backward_sentence_starts(count : Int32) : Bool
- #backward_to_tag_toggle(tag : Gtk::TextTag?) : Bool
- #backward_visible_cursor_position : Bool
- #backward_visible_cursor_positions(count : Int32) : Bool
- #backward_visible_line : Bool
- #backward_visible_lines(count : Int32) : Bool
- #backward_visible_word_start : Bool
- #backward_visible_word_starts(count : Int32) : Bool
- #backward_word_start : Bool
- #backward_word_starts(count : Int32) : Bool
- #buffer : Gtk::TextBuffer
- #bytes_in_line : Int32
- #can_insert(default_editability : Bool) : Bool
- #char : UInt32
- #chars_in_line : Int32
- #child_anchor : Gtk::TextChildAnchor?
- #compare(rhs : Gtk::TextIter) : Int32
- #copy : Gtk::TextIter
- #dummy1 : Pointer(Void)?
- #dummy1!
- #dummy10 : Pointer(Void)?
- #dummy10!
- #dummy11 : Int32
- #dummy11=(value : Int32)
- #dummy12 : Int32
- #dummy12=(value : Int32)
- #dummy13 : Int32
- #dummy13=(value : Int32)
- #dummy14 : Pointer(Void)?
- #dummy14!
- #dummy2 : Pointer(Void)?
- #dummy2!
- #dummy3 : Int32
- #dummy3=(value : Int32)
- #dummy4 : Int32
- #dummy4=(value : Int32)
- #dummy5 : Int32
- #dummy5=(value : Int32)
- #dummy6 : Int32
- #dummy6=(value : Int32)
- #dummy7 : Int32
- #dummy7=(value : Int32)
- #dummy8 : Int32
- #dummy8=(value : Int32)
- #dummy9 : Pointer(Void)?
- #dummy9!
- #editable(default_setting : Bool) : Bool
- #ends_line : Bool
- #ends_sentence : Bool
- #ends_tag(tag : Gtk::TextTag?) : Bool
- #ends_word : Bool
- #equal(rhs : Gtk::TextIter) : Bool
- #forward_char : Bool
- #forward_chars(count : Int32) : Bool
- #forward_cursor_position : Bool
- #forward_cursor_positions(count : Int32) : Bool
- #forward_find_char(pred : Gtk::TextCharPredicate, user_data : Pointer(Void)?, limit : Gtk::TextIter?) : Bool
- #forward_line : Bool
- #forward_lines(count : Int32) : Bool
- #forward_search(str : String, flags : Gtk::TextSearchFlags, limit : Gtk::TextIter?) : Gtk::TextIter
- #forward_sentence_end : Bool
- #forward_sentence_ends(count : Int32) : Bool
- #forward_to_end : Nil
- #forward_to_line_end : Bool
- #forward_to_tag_toggle(tag : Gtk::TextTag?) : Bool
- #forward_visible_cursor_position : Bool
- #forward_visible_cursor_positions(count : Int32) : Bool
- #forward_visible_line : Bool
- #forward_visible_lines(count : Int32) : Bool
- #forward_visible_word_end : Bool
- #forward_visible_word_ends(count : Int32) : Bool
- #forward_word_end : Bool
- #forward_word_ends(count : Int32) : Bool
- #free : Nil
- #has_tag(tag : Gtk::TextTag) : Bool
- #in_range(start : Gtk::TextIter, end _end : Gtk::TextIter) : Bool
- #inside_sentence : Bool
- #inside_word : Bool
- #is_cursor_position : Bool
- #is_end : Bool
- #is_start : Bool
- #language : Pango::Language
- #line : Int32
- #line=(line_number : Int32) : Nil
- #line_index : Int32
- #line_index=(byte_on_line : Int32) : Nil
- #line_offset : Int32
- #line_offset=(char_on_line : Int32) : Nil
- #marks : GLib::SList
- #offset : Int32
- #offset=(char_offset : Int32) : Nil
- #order(second : Gtk::TextIter) : Nil
- #paintable : Gdk::Paintable?
- #slice(end _end : Gtk::TextIter) : String
- #starts_line : Bool
- #starts_sentence : Bool
- #starts_tag(tag : Gtk::TextTag?) : Bool
- #starts_word : Bool
- #tags : GLib::SList
- #text(end _end : Gtk::TextIter) : String
- #to_unsafe
- #toggled_tags(toggled_on : Bool) : GLib::SList
- #toggles_tag(tag : Gtk::TextTag?) : Bool
- #visible_line_index : Int32
- #visible_line_index=(byte_on_line : Int32) : Nil
- #visible_line_offset : Int32
- #visible_line_offset=(char_on_line : Int32) : Nil
- #visible_slice(end _end : Gtk::TextIter) : String
- #visible_text(end _end : Gtk::TextIter) : String
Constructor Detail
def self.new(dummy3 : Int32? = nil, dummy4 : Int32? = nil, dummy5 : Int32? = nil, dummy6 : Int32? = nil, dummy7 : Int32? = nil, dummy8 : Int32? = nil, dummy11 : Int32? = nil, dummy12 : Int32? = nil, dummy13 : Int32? = nil)
#
Class Method Detail
Instance Method Detail
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.
def backward_find_char(pred : Gtk::TextCharPredicate, user_data : Pointer(Void)?, limit : Gtk::TextIter?) : Bool
#
def backward_search(str : String, flags : Gtk::TextSearchFlags, limit : Gtk::TextIter?) : Gtk::TextIter
#
def forward_find_char(pred : Gtk::TextCharPredicate, user_data : Pointer(Void)?, limit : Gtk::TextIter?) : Bool
#
def forward_search(str : String, flags : Gtk::TextSearchFlags, limit : Gtk::TextIter?) : Gtk::TextIter
#