gtkEntryLayoutIndexToTextIndex: gtkEntryLayoutIndexToTextIndex

Description Usage Arguments Value Author(s)

View source: R/gtkFuncs.R

Description

Converts from a position in the entry contents (returned by gtkEntryGetText) to a position in the entry's PangoLayout (returned by gtkEntryGetLayout, with text retrieved via pangoLayoutGetText).

Usage

1
gtkEntryLayoutIndexToTextIndex(object, layout.index)

Arguments

object

a GtkEntry

layout.index

byte index into the entry layout text

Value

[integer] byte index into the entry contents

Author(s)

Derived by RGtkGen from GTK+ documentation


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