MCPcopy Create free account
hub / github.com/NSLS2/PyXRF / get_selection

Method get_selection

pyxrf/gui_module/useful_widgets.py:925–934  ·  view source on GitHub ↗

Get the selected range Returns ------- tuple `(v_low, v_high)`, the values of `v_low` and `v_high` may be `int` or `float` type depending on the type set by `set_value_type()` method.

(self)

Source from the content-addressed store, hash-verified

923 return self._range_low, self._range_high
924
925 def get_selection(self):
926 """
927 Get the selected range
928
929 Returns
930 -------
931 tuple `(v_low, v_high)`, the values of `v_low` and `v_high` may be `int`
932 or `float` type depending on the type set by `set_value_type()` method.
933 """
934 return self._value_low, self._value_high
935
936 def emit_selection_changed(self):
937 """

Callers 6

test_RangeManager_1Function · 0.95
test_RangeManager_2Function · 0.95
test_RangeManager_3Function · 0.95
test_RangeManager_8Function · 0.95
test_RangeManager_9Function · 0.95
_verify_selectionFunction · 0.80

Calls

no outgoing calls

Tested by 6

test_RangeManager_1Function · 0.76
test_RangeManager_2Function · 0.76
test_RangeManager_3Function · 0.76
test_RangeManager_8Function · 0.76
test_RangeManager_9Function · 0.76
_verify_selectionFunction · 0.64