def on_mouse_release(self, event):
        """Hide/show widget and perform admin tasks.

        Parameters

            - event (pygame.event.Event of pygame.MOUSEBUTTONUP type
            or similar object)

              it is not used in this method, but required
              in order to comply with protocol used;
              contains relevant information about the
              event in the form of attributes. Check
              pygame.event module documentation on pygame
              website for more info about this event
              object.
        """
        self.translate_widget()

        try:
            self.extra_callable()
        except TypeError:
            pass
Hide/show widget and perform admin tasks.

        Parameters

            - event (pygame.event.Event of pygame.MOUSEBUTTONUP type
            or similar object)

              it is not used in this method, but required
              in order to comply with protocol used;
              contains relevant information about the
              event in the form of attributes. Check
              pygame.event module documentation on pygame
              website for more info about this event
              object.
        
nodezator/hideswitch.py