TextIter.getOffset

Returns the character offset of an iterator. Each character in a gtk.TextBuffer has an offset, starting with 0 for the first character in the buffer. Use TextBuffer.getIterAtOffset to convert an offset back into an iterator.

class TextIter
int
getOffset
()

Return Value

Type: int

a character offset