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 = nil, dummy4 : Int32 | Nil = nil, dummy5 : Int32 | Nil = nil, dummy6 : Int32 | Nil = nil, dummy7 : Int32 | Nil = nil, dummy8 : Int32 | Nil = nil, dummy11 : Int32 | Nil = nil, dummy12 : Int32 | Nil = nil, dummy13 : Int32 | Nil = 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) | Nil, limit : Gtk::TextIter | Nil) : Bool
- #backward_line : Bool
- #backward_lines(count : Int32) : Bool
- #backward_search(str : String, flags : Gtk::TextSearchFlags, limit : Gtk::TextIter | Nil) : Gtk::TextIter
- #backward_sentence_start : Bool
- #backward_sentence_starts(count : Int32) : Bool
- #backward_to_tag_toggle(tag : Gtk::TextTag | Nil) : 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 : Char
- #chars_in_line : Int32
- #child_anchor : Gtk::TextChildAnchor | Nil
- #compare(rhs : Gtk::TextIter) : Int32
- #copy : Gtk::TextIter
- #dummy1 : Pointer(Void) | Nil
- #dummy1!
- #dummy10 : Pointer(Void) | Nil
- #dummy10!
- #dummy11 : Int32
- #dummy11=(value : Int32)
- #dummy12 : Int32
- #dummy12=(value : Int32)
- #dummy13 : Int32
- #dummy13=(value : Int32)
- #dummy14 : Pointer(Void) | Nil
- #dummy14!
- #dummy2 : Pointer(Void) | Nil
- #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) | Nil
- #dummy9!
- #editable(default_setting : Bool) : Bool
- #ends_line : Bool
- #ends_sentence : Bool
- #ends_tag(tag : Gtk::TextTag | Nil) : 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) | Nil, limit : Gtk::TextIter | Nil) : Bool
- #forward_line : Bool
- #forward_lines(count : Int32) : Bool
- #forward_search(str : String, flags : Gtk::TextSearchFlags, limit : Gtk::TextIter | Nil) : 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 | Nil) : 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 | Nil
- #slice(end _end : Gtk::TextIter) : String
- #starts_line : Bool
- #starts_sentence : Bool
- #starts_tag(tag : Gtk::TextTag | Nil) : 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 | Nil) : 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 = nil, dummy4 : Int32 | Nil = nil, dummy5 : Int32 | Nil = nil, dummy6 : Int32 | Nil = nil, dummy7 : Int32 | Nil = nil, dummy8 : Int32 | Nil = nil, dummy11 : Int32 | Nil = nil, dummy12 : Int32 | Nil = nil, dummy13 : Int32 | Nil = nil)
#
Class Method Detail
Returns the type id (GType) registered in GLib type system.
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) | Nil, limit : Gtk::TextIter | Nil) : Bool
#
def backward_search(str : String, flags : Gtk::TextSearchFlags, limit : Gtk::TextIter | Nil) : Gtk::TextIter
#
def forward_find_char(pred : Gtk::TextCharPredicate, user_data : Pointer(Void) | Nil, limit : Gtk::TextIter | Nil) : Bool
#
def forward_search(str : String, flags : Gtk::TextSearchFlags, limit : Gtk::TextIter | Nil) : Gtk::TextIter
#