Gtk.TextIter.prototype.get_char
function get_char():String { // Gjs wrapper for gtk_text_iter_get_char() }
Returns the Unicode character at this iterator. (Equivalent to operator* on a C++ iterator.) If the element at this iterator is a non-character element, such as an image embedded in the buffer, the Unicode "unknown" character 0xFFFC is returned. If invoked on the end iterator, zero is returned; zero is not a valid Unicode character. So you can write a loop which ends when gtk_text_iter_get_char () returns 0.
- Returns
a Unicode character, or 0 if iter is not dereferenceable