MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / set_inputhook

Method set_inputhook

pydev_ipython/inputhook.py:88–92  ·  view source on GitHub ↗

Set inputhook to callback.

(self, callback)

Source from the content-addressed store, hash-verified

86 return self._callback
87
88 def set_inputhook(self, callback):
89 """Set inputhook to callback."""
90 # We don't (in the context of PyDev console) actually set PyOS_InputHook, but rather
91 # while waiting for input on xmlrpc we run this code
92 self._callback = callback
93
94 def clear_inputhook(self, app=None):
95 """Clear input hook.

Callers 13

enable_wxMethod · 0.95
enable_qt4Method · 0.95
enable_qt5Method · 0.95
enable_qt6Method · 0.95
enable_gtkMethod · 0.95
enable_tkMethod · 0.95
enable_glutMethod · 0.95
enable_pygletMethod · 0.95
enable_gtk3Method · 0.95
enable_macMethod · 0.95
preprompthook_qt4Function · 0.80
preprompthook_qt6Function · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected