1.2 KiB
1.2 KiB
title | id | weight | draft | author |
---|---|---|---|---|
darktable.gui.libs.metadata_view | metadata_view | 250 | false | people |
The widget displaying metadata about the current image
Attributes:
darktable.gui.libs.metadata_view.register_info
function(
name : string,
callback : function
)
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
- callback - function - The function providing the info
callback -
function(
image : types.dt_lua_image_t
) : string
- image - types.dt_lua_image_t - The image to analyze
- return - string - The extra information to display
darktable.gui.libs.metadata_view.destroy_info
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, to remove