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

Method _KeyboardHandler

PySimpleGUI/PySimpleGUI.py:1396–1407  ·  view source on GitHub ↗

Internal callback for when a key is pressed andd return keyboard events was set for window :param event: Event data passed in by tkinter (not used) :type event:

(self, event)

Source from the content-addressed store, hash-verified

1394 self._generic_callback_handler('')
1395
1396 def _KeyboardHandler(self, event):
1397 """
1398 Internal callback for when a key is pressed andd return keyboard events was set for window
1399
1400 :param event: Event data passed in by tkinter (not used)
1401 :type event:
1402 """
1403
1404 # if the element is disabled, ignore the event
1405 if self.Disabled:
1406 return
1407 self._generic_callback_handler('')
1408
1409 def _ClickHandler(self, event):
1410 """

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected