Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkTextViewWindowToBufferCoords

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


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.