Method

ClutterTextcoords_to_position

Declaration [src]

gint
clutter_text_coords_to_position (
  ClutterText* self,
  gfloat x,
  gfloat y
)

Description [src]

Retrieves the position of the character at the given coordinates.

Available since:1.10

Parameters

x gfloat
 

The X coordinate, relative to the actor.

y gfloat
 

The Y coordinate, relative to the actor.

Return value

Returns: gint
 

The position of the character.