MCPcopy Index your code
hub / github.com/PySimpleGUI/PySimpleGUI / _OptionMenuSelectHandler

Method _OptionMenuSelectHandler

PySimpleGUI/PySimpleGUI.py:1353–1360  ·  view source on GitHub ↗

Internal callback function for when an entry is selected in a OptionMenu. :param var: tkinter control variable :param index: index of var, '' if var is not a list :param mode: 'w' for 'write' here

(self, var, index, mode)

Source from the content-addressed store, hash-verified

1351
1352
1353 def _OptionMenuSelectHandler(self, var, index, mode):
1354 """
1355 Internal callback function for when an entry is selected in a OptionMenu.
1356 :param var: tkinter control variable
1357 :param index: index of var, '' if var is not a list
1358 :param mode: 'w' for 'write' here
1359 """
1360 self._generic_callback_handler('')
1361
1362
1363

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected