atkComponentGetPosition {RGtk2}R Documentation

atkComponentGetPosition

Description

Gets the position of component in the form of a point specifying component's top-left corner.

Usage

atkComponentGetPosition(object, coord.type)

Arguments

object

[AtkComponent] an AtkComponent

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

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.20.21 Index]