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

Function handle_tk_events

tools/python-3.11.9-amd64/Lib/idlelib/run.py:96–100  ·  view source on GitHub ↗

Process any tk events that are ready to be dispatched if tkinter has been imported, a tcl interpreter has been created and tk has been loaded.

(tcl=tcl)

Source from the content-addressed store, hash-verified

94tcl = tkinter.Tcl()
95
96def handle_tk_events(tcl=tcl):
97 """Process any tk events that are ready to be dispatched if tkinter
98 has been imported, a tcl interpreter has been created and tk has been
99 loaded."""
100 tcl.eval("update")
101
102# Thread shared globals: Establish a queue between a subthread (which handles
103# the socket) and the main thread (which runs user code), plus global

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected