gtkTextViewGetLineAtY {RGtk2}R Documentation

gtkTextViewGetLineAtY

Description

Gets the GtkTextIter at the start of the line containing the coordinate y. y is in buffer coordinates, convert from window coordinates with gtkTextViewWindowToBufferCoords. If non-NULL, line.top will be filled with the coordinate of the top edge of the line.

Usage

gtkTextViewGetLineAtY(object, y)

Arguments

object [GtkTextView] a GtkTextView
y [integer] a y coordinate

Value

A list containing the following elements:

target.iter [GtkTextIter] a GtkTextIter
line.top [integer] return location for top coordinate of the line

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]