Home / Lua API Manual / darktable / darktable.destroy_event
< darktable.register_event
darktable.register_lib >

# darktable.destroy_event

    function(
      event_name : string,
      event_type : string,
    )

This function removes the callback registered by darktable.register_event. Events are documented in the event section.

- event_name - string - The name of the event used to manipulate the event. The combination of event_name and event_type must be unique.
- event_type - string - The name of the event to register to.

< darktable.register_event
darktable.register_lib >