Next: Choosing the Orientation Up: Creating Display Items Previous: Setting the Styles


Configuring and Deleting the Items 

You can configure the individual attributes of the items using the entryconfigure method. There is also the entrycget method for querying the attributes of the items. To delete the items, you can use the delete method. In the following example, we use these two methods to change the first and third items to display the text strings One and Two and change the third item to use the style $style2. Then we delete the second item using the delete command.

.t entryconfigure 0 -text One
.t entryconfigure 2 -text Two
.t delete 1