def METHOD_NAME(self, option=None, **kw):
    for option, value in kw.items():
        # Use option string to access setter function
        try:
            setter = getattr(self, 'set' + option[0].upper() + option[1:])
            if (setter == self.setPos or
                setter == self.setHpr or
                setter == self.setScale) and \
               isinstance(value, (tuple, list)):
                setter(*value)
            else:
                setter(value)
        except AttributeError:
            print('OnscreenImage.configure: invalid option: %s' % option)