def __init__(self, arg, **kwargs): Image.__init__(self, arg, **kwargs) EventDispatcher.__init__(self) self.register_event_type('on_load')