Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

atkTextGetSelection

atkTextGetSelection


Description

Gets the text from the specified selection.

Usage

atkTextGetSelection(object, selection.num)

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.

Value

A list containing the following elements:

retval

[character] the selected text.

start.offset

[integer] passes back the start position of the selected region

end.offset

[integer] passes back the end position of (e.g. offset immediately past) the selected region

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.