luadocs/content/lua.api.manual/darktable/gui/libs/snapshots.md
wpferguson fbebfabca5 [Lua API] Removed references to API 6.x.x. Updated version to 7.0.0.
Reordered types alphabetically.  Fixed darktable.gui.libs.snapshots
2021-06-22 22:40:54 -04:00

1.3 KiB

title id weight draft author
darktable.gui.libs.snapshots snapshots 340 false people

The UI element that manipulates snapshots in darkroom

Attributes:

darktable.gui.libs.snapshots.ratio

number - The place in the screen where the line separating the snapshot is. Between 0 and 1

Attributes:

darktable.gui.libs.snapshots.direction

types.snapshot_direction_t - The direction of the snapshot overlay

Attributes:

darktable.gui.libs.snapshots.#

types.dt_lua_snapshot_t - Each snapshot appears with a numerical index; you can iterate over them with ipairs.

darktable.gui.libs.snapshots.selected

types.dt_lua_snapshot_t - The currently selected snapshot

darktable.gui.libs.snapshots.take_snapshot

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.max_snapshot

types.dt_lua_snapshot_t - The maximum number of snapshots