Здесь показаны различия между двумя версиями данной страницы.
| Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
|
test:test [2020/02/20 00:44] werwolf |
test:test [2023/01/12 12:18] (текущий) |
||
|---|---|---|---|
| Строка 1: | Строка 1: | ||
| ^Sr.No.^Method & Description| | ^Sr.No.^Method & Description| | ||
| - | |1| \\ **index(mark)** \\ \\ Returns the line and column location of a specific mark.| | + | |1| \\ **get()** \\ \\ Returns two numbers (a, b) describing the current position of the slider. The a value gives the position of the left or top edge of the slider, for horizontal and vertical scrollbars respectively; the b value gives the position of the right or bottom edge.| |
| - | |2| \\ **mark_gravity(mark [,gravity])** \\ \\ Returns the gravity of the given mark. If the second argument is provided, the gravity is set for the given mark.| | + | |2| \\ **set ( first, last )** \\ \\ To connect a scrollbar to another widget w, set w's xscrollcommand or yscrollcommand to the scrollbar's set() method. The arguments have the same meaning as the values returned by the get() method.| |
| - | |3| \\ **mark_names()** \\ \\ Returns all marks from the Text widget.| | + | |
| - | |4| \\ **mark_set(mark, index)** \\ \\ Informs a new position to the given mark.| | + | |
| - | |5| \\ **mark_unset(mark)** \\ \\ Removes the given mark from the Text widget.| | + | |
| \\ | \\ | ||