gtkTextViewBufferToWindowCoords {RGtk2} | R Documentation

## gtkTextViewBufferToWindowCoords

### Description

Converts coordinate (`buffer.x`, `buffer.y`) to coordinates for the window `win`, and stores the result in (`window.x`, `window.y`).

### Usage

    gtkTextViewBufferToWindowCoords(object, win, buffer.x, buffer.y)

### Arguments

``object`` | a `GtkTextView`
``win`` | a `GtkTextWindowType` except `GTK_TEXT_WINDOW_PRIVATE`
``buffer.x`` | buffer x coordinate
``buffer.y`` | buffer y coordinate

### Details

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

### Value

A list containing the following elements:

``window.x`` | window x coordinate return location or `NULL`. [ out ][ allow-none ]
``window.y`` | window 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]