MCPcopy Create free account
hub / github.com/geekcomputers/Python / on_inputentry_click

Function on_inputentry_click

Emoji Dictionary/emoji_dictionary.py:258–264  ·  view source on GitHub ↗

function that gets called whenever entry1 is clicked

(event)

Source from the content-addressed store, hash-verified

256
257
258def on_inputentry_click(event):
259 """function that gets called whenever entry1 is clicked"""
260 global firstclick1
261
262 if firstclick1: # if this is the first time they clicked it
263 firstclick1 = False
264 inputentry.delete(0, "end") # delete all the text in the entry
265
266
267# Taking input from TextArea

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected