function that gets called whenever entry1 is clicked
(event)
| 256 | |
| 257 | |
| 258 | def 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 |