gtkTextViewBufferToWindowCoords: gtkTextViewBufferToWindowCoords

Description Usage Arguments Details Value Author(s)

View source: R/gtkFuncs.R

Description

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

Usage

1
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


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.