<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _on_click(self):
 """Handles clicks and calls callback."""

        if callable(self.__callback):
            self.__callback((self.bold, self.italic, self.underline, self.overstrike))