luadocs/content/lua.api.manual/darktable/darktable.destroy_event.md
wpferguson fbebfabca5 [Lua API] Removed references to API 6.x.x. Updated version to 7.0.0.
Reordered types alphabetically.  Fixed darktable.gui.libs.snapshots
2021-06-22 22:40:54 -04:00

20 lines
552 B
Markdown

---
title: darktable.destroy_event
id: darktable.destroy_event
weight: 195
draft: false
author: "people"
---
```
function(
event_name : string,
event_type : string,
)
```
This function removes the callback registered by [darktable.register_event](darktable.register_event.md).
Events are documented in the [event](../events) 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.