atkTextSetSelection {RGtk2} | R Documentation

## atkTextSetSelection

### Description

Changes the start and end offset of the specified selection.

### Usage

    atkTextSetSelection(object, selection.num, start.offset, end.offset)

### Arguments

``object`` | [`AtkText`] an `AtkText`
``selection.num`` | [integer] The selection number. The selected regions are assigned numbers that correspond to how far the region is from the start of the text. The selected region closest to the beginning of the text region is assigned the number 0, etc. Note that adding, moving or deleting a selected region can change the numbering.
``start.offset`` | [integer] the new start position of the selection
``end.offset`` | [integer] the new end position of (e.g. offset immediately past) the selection

### Value

[logical] `TRUE` if success, `FALSE` otherwise

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]