gtkTextViewWindowToBufferCoords: gtkTextViewWindowToBufferCoords

Description Usage Arguments Details Value Author(s)

View source: R/gtkFuncs.R

Description

Converts coordinates on the window identified by win to buffer coordinates, storing the result in (buffer.x,buffer.y).

Usage

1
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 documentation built on Oct. 14, 2021, 5:08 p.m.