gtkTextBufferGetIterAtLineIndex {RGtk2}R Documentation

gtkTextBufferGetIterAtLineIndex

Description

Obtains an iterator pointing to byte.index within the given line. byte.index must be the start of a UTF-8 character, and must not be beyond the end of the line. Note bytes, not characters; UTF-8 may encode one character as multiple bytes.

Usage

gtkTextBufferGetIterAtLineIndex(object, line.number, byte.index)

Arguments

object [GtkTextBuffer] a GtkTextBuffer
line.number [integer] line number counting from 0
byte.index [integer] byte index from start of line

Value

A list containing the following elements:

iter [GtkTextIter] iterator to initialize

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]