gtkEntryLayoutIndexToTextIndex {RGtk2} | R Documentation

## gtkEntryLayoutIndexToTextIndex

### 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

    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

[Package RGtk2 version 2.20.36.3 Index]