![]() | Instead of clicking "equals", pressing return in the entry window computes the sine value
# bind a Return in the .r entry to calling comp_s: r_entry.bind('<Return>', comp_s) |
![]() | One can bind any keyboard or mouse event to user-defined functions |
![]() | We have also replaced the "equals" button by a straight label |