code: def SetAction(self, action, **kws):
          "set callback action"
          if hasattr(action,'__call__'):
              self.__action = Closure(action, **kwsf SetAction(self, action, **kws):
          "set callback action"
          if hasattr(action,'__call__'):
              self.__action = Closure(action, **kws)
docs: set callback action