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`` | a `GtkTextView`
``win`` | a `GtkTextWindowType` except `GTK_TEXT_WINDOW_PRIVATE`
``window.x`` | window x coordinate
``window.y`` | 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`` | buffer x coordinate return location or `NULL`. [ out ][ allow-none ]
``buffer.y`` | buffer y coordinate return location or `NULL`. [ out ][ allow-none ]

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]