Method

GtkAccessibleget_bounds

Declaration [src]

gboolean
gtk_accessible_get_bounds (
  GtkAccessible* self,
  int* x,
  int* y,
  int* width,
  int* height
)

Description [src]

Queries the coordinates and dimensions of this accessible

This functionality can be overridden by GtkAccessible implementations, e.g. to get the bounds from an ignored child widget.

Available since:4.10

Parameters

x int*
 

The x coordinate of the top left corner of the accessible.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.
y int*
 

The y coordinate of the top left corner of the widget.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.
width int*
 

The width of the accessible object.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.
height int*
 

The height of the accessible object.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.

Return value

Returns: gboolean
 

True if the bounds are valid, and false otherwise.