diff --git a/content/lua.api.manual/darktable/gui/libs/snapshots.md b/content/lua.api.manual/darktable/gui/libs/snapshots.md index 61b6655..2b31756 100644 --- a/content/lua.api.manual/darktable/gui/libs/snapshots.md +++ b/content/lua.api.manual/darktable/gui/libs/snapshots.md @@ -44,6 +44,15 @@ function( Take a snapshot of the current image and add it to the UI The snapshot file will be generated at the next redraw of the main window +## darktable.gui.libs.snapshots.clear_snapshots + +``` +function( +) +``` + +Delete all snapshots and remove them from the UI. + ## darktable.gui.libs.snapshots.max_snapshot [types.dt_lua_snapshot_t](../../../types/dt_lua_snapshot_t) - The maximum number of snapshots