darktable.gui.libs.metadata_view

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