Added darktable.gui.libs.metadata_view.destroy_info
This commit is contained in:
parent
414b6143e0
commit
e2d876dcb2
1 changed files with 15 additions and 1 deletions
|
@ -419,7 +419,7 @@ function(
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
Register a function providing extra info to display in the widget
|
Register a field in the image information module with a callback function to update the field
|
||||||
|
|
||||||
* **name** - _string_ - The name displayed for the new information
|
* **name** - _string_ - The name displayed for the new information
|
||||||
* **callback** - _function_ - The function providing the info
|
* **callback** - _function_ - The function providing the info
|
||||||
|
@ -435,6 +435,20 @@ function(
|
||||||
* **image** - _[types.dt_lua_image_t](../../types/dt_lua_image_t)_ - The image to analyze
|
* **image** - _[types.dt_lua_image_t](../../types/dt_lua_image_t)_ - The image to analyze
|
||||||
* **return** - _string_ - The extra information to display
|
* **return** - _string_ - The extra information to display
|
||||||
|
|
||||||
|
### darktable.gui.libs.metadata_view.destroy_info
|
||||||
|
|
||||||
|
**lua API 6.2.0**
|
||||||
|
|
||||||
|
```
|
||||||
|
function(
|
||||||
|
name : string
|
||||||
|
)
|
||||||
|
```
|
||||||
|
|
||||||
|
Remove the named field from the image information module and it's associated callback
|
||||||
|
|
||||||
|
* **name** - _string_ - The name of the field, created by [darktable.gui.libs.metadata_view.register_info](#darktable.gui.libs.metadata_view.register_info), to remove
|
||||||
|
|
||||||
## darktable.gui.libs.metadata
|
## darktable.gui.libs.metadata
|
||||||
|
|
||||||
The widget allowing modification of metadata fields on the current image
|
The widget allowing modification of metadata fields on the current image
|
||||||
|
|
Loading…
Reference in a new issue