xview

This command is used to query and change the horizontal position of the text in the widget's window. It can take any of the following forms:

(#<widget> 'xview)
Returns a list containing two elements. Each element is a real fraction between 0 and 1; together they describe the horizontal span that is visible in the window. For example, if the first element is .2 and the second element is .6, 20% of the entry's text is off-screen to the left, the middle 40% is visible in the window, and 40% of the text is off-screen to the right. These are the same values passed to scrollbars via the -xscrollcommand option.

© Author | Home | Sitemap