Learn R Programming

RGtk2 (version 2.8.8)

atkImageGetImagePosition: atkImageGetImagePosition

Description

Gets the position of the image in the form of a point specifying the images top-left corner. The values of x and y are returned as -1 if the values cannot be obtained.

Usage

atkImageGetImagePosition(object, coord.type)

Arguments

object
[AtkImage] a GObject instance that implements AtkImageIface
coord.type
[AtkCoordType] specifies whether the coordinates are relative to the screen or to the components top level window

Value

  • A list containing the following elements:
  • x[integer] integer to put x coordinate position
  • y[integer] integer to put y coordinate position