[ Team LiB ] Previous Section Next Section

Entry Widget

The scrollCommand attribute changed to xScrollCommand to be consistent with other widgets that scroll horizontally. The view operation changed to the xview operation for the same reason. Chapter 34 describes the entry widget starting on page 507.

The delete operation has changed the meaning of the second index so that the second index refers to the character immediately following the affected text. The selection operations have changed in a similar fashion. The sel.last index refers to the character immediately following the end of the selection, so deleting from sel.first to sel.last still works. The default bindings have been updated, of course, but if you have custom bindings, you must fix them.

    [ Team LiB ] Previous Section Next Section