MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / get

Method get

tools/python-3.11.9-amd64/Lib/tkinter/ttk.py:1065–1071  ·  view source on GitHub ↗

Get the current value of the value option, or the value corresponding to the coordinates x, y if they are specified. x and y are pixel coordinates relative to the scale widget origin.

(self, x=None, y=None)

Source from the content-addressed store, hash-verified

1063
1064
1065 def get(self, x=None, y=None):
1066 """Get the current value of the value option, or the value
1067 corresponding to the coordinates x, y if they are specified.
1068
1069 x and y are pixel coordinates relative to the scale widget
1070 origin."""
1071 return self.tk.call(self._w, 'get', x, y)
1072
1073
1074class Scrollbar(Widget, tkinter.Scrollbar):

Callers 15

__init__Method · 0.45
dirs_select_eventMethod · 0.45
files_select_eventMethod · 0.45
get_filterMethod · 0.45
get_selectionMethod · 0.45
getresultMethod · 0.45
getresultMethod · 0.45
getresultMethod · 0.45
__init__Method · 0.45
_script_from_settingsFunction · 0.45
headingMethod · 0.45
_adjustMethod · 0.45

Calls 1

callMethod · 0.80

Tested by 15

test_getMethod · 0.36
test_setMethod · 0.36
test_blankMethod · 0.36
test_copyMethod · 0.36
test_subsampleMethod · 0.36
test_zoomMethod · 0.36
test_putMethod · 0.36
test_getMethod · 0.36
test_writeMethod · 0.36
test_validationMethod · 0.36
test_revalidationMethod · 0.36
check_get_currentMethod · 0.36