code: func (v *Entry) TextIndexToLayoutIndex(textIndex int) int {
  	c := C.gtk_entry_text_index_to_layout_index(v.native(),
  		C.gint(textIndex))
  	return int(c)
  }
docs: // TextIndexToLayoutIndex() is a wrapper around
  // gtk_entry_text_index_to_layout_index().