atkTextGetTextAfterOffset {RGtk2} | R Documentation

## atkTextGetTextAfterOffset

### Description

Gets the specified text.

### Usage

    atkTextGetTextAfterOffset(object, offset, boundary.type)

### Arguments

``object`` | [`AtkText`] an `AtkText`
``offset`` | [integer] position
``boundary.type`` | [`AtkTextBoundary`] An `AtkTextBoundary`

### Details

If the boundary_type if ATK_TEXT_BOUNDARY_CHAR the character after the offset is returned.

If the boundary_type is ATK_TEXT_BOUNDARY_WORD_START the returned string is from the word start after the offset to the next word start.

The returned string will contain the word after the offset if the offset is inside a word or if the offset is not inside a word.

If the boundary_type is ATK_TEXT_BOUNDARY_WORD_END the returned string is from the word end at or after the offset to the next work end.

The returned string will contain the word after the offset if the offset is inside a word and will contain the word after the word after the offset if the offset is not inside a word.

If the boundary type is ATK_TEXT_BOUNDARY_SENTENCE_START the returned string is from the sentence start after the offset to the next sentence start.

The returned string will contain the sentence after the offset if the offset is inside a sentence or if the offset is not inside a sentence.

If the boundary_type is ATK_TEXT_BOUNDARY_SENTENCE_END the returned string is from the sentence end at or after the offset to the next sentence end.

The returned string will contain the sentence after the offset if the offset is inside a sentence and will contain the sentence after the sentence after the offset if the offset is not inside a sentence.

If the boundary type is ATK_TEXT_BOUNDARY_LINE_START the returned string is from the line start after the offset to the next line start.

If the boundary_type is ATK_TEXT_BOUNDARY_LINE_END the returned string is from the line end at or after the offset to the next line start.

### Value

A list containing the following elements:

`retval` | [character] the text after `offset` bounded by the specified `boundary.type`.
``start.offset`` | [integer] the start offset of the returned string
``end.offset`` | [integer] the offset of the first character after the returned substring

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]