gtkTextViewGetIterAtPosition
Retrieves the iterator pointing to the character at buffer
coordinates x
and y
. Buffer coordinates are coordinates for
the entire buffer, not just the currently-displayed portion.
If you have coordinates from an event, you have to convert
those to buffer coordinates with
gtkTextViewWindowToBufferCoords
.
gtkTextViewGetIterAtPosition(object, x, y)
|
|
|
x position, in buffer coordinates |
|
y position, in buffer coordinates |
Note that this is different from gtkTextViewGetIterAtLocation
,
which returns cursor locations, i.e. positions between
characters.
Since 2.6
A list containing the following elements:
|
a |
|
if non- |
Derived by RGtkGen from GTK+ documentation
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.