gtkTextViewWindowToBufferCoords {RGtk2}R Documentation

gtkTextViewWindowToBufferCoords

Description

Converts coordinates on the window identified by win to buffer coordinates, storing the result in (buffer.x,buffer.y).

Usage

gtkTextViewWindowToBufferCoords(object, win, window.x, window.y)

Arguments

object [GtkTextView] a GtkTextView
win [GtkTextWindowType] a GtkTextWindowType except GTK_TEXT_WINDOW_PRIVATE
window.x [integer] window x coordinate
window.y [integer] window y coordinate

Details

Note that you can't convert coordinates for a nonexisting window (see gtkTextViewSetBorderWindowSize).

Value

A list containing the following elements:

buffer.x [integer] buffer x coordinate return location
buffer.y [integer] buffer y coordinate return location

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]