RGtk2 (version 2.20.31)

gtkTextViewBufferToWindowCoords: 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
win
a GtkTextWindowType except GTK_TEXT_WINDOW_PRIVATE
buffer.x
buffer x coordinate
buffer.y
buffer y coordinate

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 ]

Details

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