darktable.query_event

function(
  event_name : string,
  event_type : string,
) : boolean

This function determines if an event is registered by darktable.register_event. Events are documented in the event section.

  • event_name - string - The name of the event registered. The combination of event_name and event_type must be unique.
  • event_type - string - The type of the event registered.
  • return - boolean - True if the event exists, otherwise false