Learn R Programming

RGtk2 (version 2.8.8)

atkTextGetOffsetAtPoint: atkTextGetOffsetAtPoint

Description

Gets the offset of the character located at coordinates x and y. x and y are interpreted as being relative to the screen or this widget's window depending on coords.

Usage

atkTextGetOffsetAtPoint(object, x, y, coords)

Arguments

object
x
[integer] screen x-position of character
y
[integer] screen y-position of character
coords
[AtkCoordType] specify whether coordinates are relative to the screen or widget window

Value

  • [integer] the offset to the character which is located at the specified x and y coordinates.