* @x: a #long specifying the x coordinate in question.
* @y: a #long specifying the y coordinate in question.
* @ctype: the desired coordinate system of the point (@x, @y)
- * (e.g. COORD_TYPE_WINDOW, COORD_TYPE_SCREEN).
+ * (e.g. SPI_COORD_TYPE_WINDOW, SPI_COORD_TYPE_SCREEN).
*
* Query whether a given #AccessibleComponent contains a particular point.
*
+ * Returns: a #TRUE if the specified component contains the point (@x, @y),
+ * otherwise #FALSE.
**/
boolean
AccessibleComponent_contains (AccessibleComponent *obj,
- long x,
- long y,
+ long int x,
+ long int y,
AccessibleCoordType ctype)
{
return Accessibility_Component_contains (*obj,
* @x: a #long specifying the x coordinate of the point in question.
* @y: a #long specifying the y coordinate of the point in question.
* @ctype: the coordinate system of the point (@x, @y)
- * (e.g. COORD_TYPE_WINDOW, COORD_TYPE_SCREEN).
+ * (e.g. SPI_COORD_TYPE_WINDOW, SPI_COORD_TYPE_SCREEN).
*
* Get the accessible child at a given coordinate within an #AccessibleComponent.
*
**/
Accessible *
AccessibleComponent_getAccessibleAtPoint (AccessibleComponent *obj,
- long x,
- long y,
+ long int x,
+ long int y,
AccessibleCoordType ctype)
{
Accessible child;
* @width: a pointer to a #long into which the x extents (width) will be returned.
* @height: a pointer to a #long into which the y extents (height) will be returned.
* @ctype: the desired coordinate system into which to return the results,
- * (e.g. COORD_TYPE_WINDOW, COORD_TYPE_SCREEN).
+ * (e.g. SPI_COORD_TYPE_WINDOW, SPI_COORD_TYPE_SCREEN).
*
* Get the bounding box of the specified #AccessibleComponent.
*
**/
void
AccessibleComponent_getExtents (AccessibleComponent *obj,
- long *x,
- long *y,
- long *width,
- long *height,
+ long int *x,
+ long int *y,
+ long int *width,
+ long int *height,
AccessibleCoordType ctype)
{
CORBA_long cx, cy, cw, ch;
* @x: a pointer to a #long into which the minimum x coordinate will be returned.
* @y: a pointer to a #long into which the minimum y coordinate will be returned.
* @ctype: the desired coordinate system into which to return the results,
- * (e.g. COORD_TYPE_WINDOW, COORD_TYPE_SCREEN).
+ * (e.g. SPI_COORD_TYPE_WINDOW, SPI_COORD_TYPE_SCREEN).
*
* Get the minimum x and y coordinates of the specified #AccessibleComponent.
*
**/
void
AccessibleComponent_getPosition (AccessibleComponent *obj,
- long *x,
- long *y,
+ long int *x,
+ long int *y,
AccessibleCoordType ctype)
{
Accessibility_Component_getPosition (*obj,
**/
void
AccessibleComponent_getSize (AccessibleComponent *obj,
- long *width,
- long *height)
+ long int *width,
+ long int *height)
{
Accessibility_Component_getSize (*obj,
(CORBA_long *) width,
&ev);
}
-/* Not Yet Implemented */
+/**
+ * AccessibleComponent_grabFocus:
+ * @obj: a pointer to the #AccessibleComponent on which to operate.
+ *
+ * Attempt to set the keyboard input focus to the specified
+ * #AccessibleComponent.
+ *
+ **/
void
AccessibleComponent_grabFocus (AccessibleComponent *obj)
{