@@ -3750,25 +3750,25 @@ def selection_adjust(self, index): |
|
|
3750 |
3750 |
select to commands. If the selection isn't currently in |
3751 |
3751 |
the spinbox, then a new selection is created to include |
3752 |
3752 |
the characters between index and the most recent selection |
3753 |
|
- anchor point, inclusive. Returns an empty string. |
|
3753 |
+ anchor point, inclusive. |
3754 |
3754 |
""" |
3755 |
3755 |
return self.selection("adjust", index) |
3756 |
3756 |
|
3757 |
3757 |
def selection_clear(self): |
3758 |
3758 |
"""Clear the selection |
3759 |
3759 |
|
3760 |
3760 |
If the selection isn't in this widget then the |
3761 |
|
- command has no effect. Returns an empty string. |
|
3761 |
+ command has no effect. |
3762 |
3762 |
""" |
3763 |
3763 |
return self.selection("clear") |
3764 |
3764 |
|
3765 |
3765 |
def selection_element(self, element=None): |
3766 |
3766 |
"""Sets or gets the currently selected element. |
3767 |
3767 |
|
3768 |
3768 |
If a spinbutton element is specified, it will be |
3769 |
|
- displayed depressed |
|
3769 |
+ displayed depressed. |
3770 |
3770 |
""" |
3771 |
|
-return self.selection("element", element) |
|
3771 |
+return self.tk.call(self._w, 'selection', 'element', element) |
3772 |
3772 |
|
3773 |
3773 |
########################################################################### |
3774 |
3774 |
|