MCPcopy Create free account
hub / github.com/ActiveState/code / handle

Function handle

recipes/Python/579107_simplify_webpage/recipe-579107.py:113–117  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

111 w.menu.entryconfigure("Select all", command=w.event_select_all)
112
113def handle(event):
114 event.widget.delete(0,Tkinter.END)
115 url = event.data.strip()
116 event.widget.insert(0,url)
117 textwindow(url)
118
119def handlereturn(entry):
120 p = entry.get().splitlines()[0]

Callers

nothing calls this directly

Calls 4

textwindowFunction · 0.85
deleteMethod · 0.45
stripMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected