remove_event_handler#
- LinearRegionSelector.remove_event_handler(callback, *types)#
remove a registered event handler
- Parameters:
callback (callable) – event handler that has been added
*types (strings) – event types that were registered with the given callback
Example
# define event handler def my_handler(event): print(event) # add event handler graphic.add_event_handler(my_handler, "pointer_up", "pointer_down") # remove event handler graphic.remove_event_handler(my_handler, "pointer_up", "pointer_down")