Sets the cursor position within the string of existing text. Note that the calling editable widget must have keyboard focus in order for the cursor position to be valid.