add_event_handler# ImageWidget.add_event_handler(handler, event='current_index')[source]# Register an event handler, called whenever the current_index changes with the current_index dict as the only argument. “current_index” is the only supported event.