get_offset
Description:
Returns the character offset of an iterator.
Each character in a TextBuffer has an offset, starting with 0 for the first character in the buffer. Use get_iter_at_offset to convert an offset back into an iterator.
Parameters:
this |
an iterator |
Returns:
a character offset |