layout_index_to_text_index


Description:

public int layout_index_to_text_index (int layout_index)

Converts from a position in the entry’s Layout (returned by get_layout) to a position in the entry contents (returned by get_text).

Parameters:

this

a Entry

layout_index

byte index into the entry layout text

Returns:

byte index into the entry contents




2022 vala-language.org