to

(#<widget> 'select 'to tagOrId index)
Set the selection to consist of those characters of tagOrId between the selection anchor point and index.

The new selection will include the character given by index; it will include the character given by the anchor point only if index is greater than or equal to the anchor point. The anchor point is determined by the most recent select adjust or select from command for this widget.

If the selection anchor point for the widget isn't currently in tagOrId, then it is set to the same character given by index.

Returns an empty string.


© Author | Home | Sitemap