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 [GtkTextView] a GtkTextView
win [GtkTextWindowType] a GtkTextWindowType except GTK_TEXT_WINDOW_PRIVATE
buffer.x [integer] buffer x coordinate
buffer.y [integer] 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 [integer] window x coordinate return location
window.y [integer] window y coordinate return location

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]