[Lua API] Removed references to API 6.x.x. Updated version to 7.0.0.
Reordered types alphabetically. Fixed darktable.gui.libs.snapshots
This commit is contained in:
parent
36c58ad3c8
commit
fbebfabca5
74 changed files with 74 additions and 95 deletions
|
@ -48,8 +48,6 @@ imported.
|
||||||
|
|
||||||
# darktable.database.get_image
|
# darktable.database.get_image
|
||||||
|
|
||||||
**Lua API 6.2.0**
|
|
||||||
|
|
||||||
```
|
```
|
||||||
function(
|
function(
|
||||||
image_id : int,
|
image_id : int,
|
||||||
|
|
|
@ -6,8 +6,6 @@ draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
||||||
**API 6.2.1**
|
|
||||||
|
|
||||||
```
|
```
|
||||||
function(
|
function(
|
||||||
event_name : string,
|
event_name : string,
|
||||||
|
|
|
@ -6,8 +6,6 @@ draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
||||||
## Lua API 6.2.0
|
|
||||||
|
|
||||||
Store and retrieve credentials using the darktable password storage backend.
|
Store and retrieve credentials using the darktable password storage backend.
|
||||||
|
|
||||||
# darktable.password.save
|
# darktable.password.save
|
||||||
|
|
|
@ -79,7 +79,7 @@ function(
|
||||||
|
|
||||||
Reads a value from a Lua preference.
|
Reads a value from a Lua preference.
|
||||||
|
|
||||||
* **script** - _string_ - Invisible prefix to guarantee unicity of preferences. **Lua API 6.2.0** Specifying "darktable" as the script name allows access to the darktable core preferences.
|
* **script** - _string_ - Invisible prefix to guarantee unicity of preferences. Specifying "darktable" as the script name allows access to the darktable core preferences.
|
||||||
* **name** - _string_ - The name of the preference displayed in the preference screen.
|
* **name** - _string_ - The name of the preference displayed in the preference screen.
|
||||||
* **type** - _[types.lua_pref_type](../../types/lua_pref_type)_ - The type of the preference.
|
* **type** - _[types.lua_pref_type](../../types/lua_pref_type)_ - The type of the preference.
|
||||||
* **return** - _depends on type_ - The value of the preference.
|
* **return** - _depends on type_ - The value of the preference.
|
||||||
|
@ -102,8 +102,6 @@ Writes a value to a Lua preference.
|
||||||
* **type** - _[types.lua_pref_type](../../types/lua_pref_type)_ - The type of the preference.
|
* **type** - _[types.lua_pref_type](../../types/lua_pref_type)_ - The type of the preference.
|
||||||
* **value** - _depends on type_ - The value to set the preference to.
|
* **value** - _depends on type_ - The value to set the preference to.
|
||||||
|
|
||||||
**Lua API 6.2.0**
|
|
||||||
|
|
||||||
# darktable.preferences.destroy
|
# darktable.preferences.destroy
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -119,8 +117,6 @@ Destroys a lua preference key and value.
|
||||||
* **name** - _string_ - The name of the preference displayed in the preference screen.
|
* **name** - _string_ - The name of the preference displayed in the preference screen.
|
||||||
* **return** - _boolean_ - True for success, false otherwise.
|
* **return** - _boolean_ - True for success, false otherwise.
|
||||||
|
|
||||||
**Lua API 6.2.0**
|
|
||||||
|
|
||||||
# darktable.preferences.get_keys
|
# darktable.preferences.get_keys
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -18,7 +18,7 @@ function(
|
||||||
This function registers a callback to be called when a given event happens.
|
This function registers a callback to be called when a given event happens.
|
||||||
Events are documented in the [event](../events) section.
|
Events are documented in the [event](../events) section.
|
||||||
|
|
||||||
* **event_name** - _string_ - The name of the event used to manipulate the event. The combination of event_name and event_type must be unique. **API 6.2.1**
|
* **event_name** - _string_ - The name of the event used to manipulate the event. The combination of event_name and event_type must be unique.
|
||||||
* **event_type** - _string_ - The name of the event to register to.
|
* **event_type** - _string_ - The name of the event to register to.
|
||||||
* **callback** - _function_ - The function to call on event. The signature of the function depends on the type of
|
* **callback** - _function_ - The function to call on event. The signature of the function depends on the type of
|
||||||
event.
|
event.
|
||||||
|
|
|
@ -39,8 +39,6 @@ function(
|
||||||
|
|
||||||
## darktable.gui.libs.metadata_view.destroy_info
|
## darktable.gui.libs.metadata_view.destroy_info
|
||||||
|
|
||||||
**lua API 6.2.0**
|
|
||||||
|
|
||||||
```
|
```
|
||||||
function(
|
function(
|
||||||
name : string
|
name : string
|
||||||
|
|
|
@ -25,7 +25,7 @@ function(
|
||||||
|
|
||||||
Add a new button and call a callback when it is clicked
|
Add a new button and call a callback when it is clicked
|
||||||
|
|
||||||
* **name** - _string_ - The name to use to refer to the select button **API 6.2.2**
|
* **name** - _string_ - The name to use to refer to the select button
|
||||||
* **label** - _string_ - The label to display on the button
|
* **label** - _string_ - The label to display on the button
|
||||||
* **callback** - _function_ - The function to call when the button is pressed
|
* **callback** - _function_ - The function to call when the button is pressed
|
||||||
* **\[tooltip\]** - _string_ - The tooltip to use on the new button
|
* **\[tooltip\]** - _string_ - The tooltip to use on the new button
|
||||||
|
@ -45,7 +45,7 @@ The function to call when the button is pressed
|
||||||
* **images** - _table of [types.dt_lua_image_t](../../../types/dt_lua_image_t)_ - The images in the current collection. This is the same content asdarktable.collection
|
* **images** - _table of [types.dt_lua_image_t](../../../types/dt_lua_image_t)_ - The images in the current collection. This is the same content asdarktable.collection
|
||||||
* **return** - _table of [types.dt_lua_image_t](../../../types/dt_lua_image_t)_ - The images to set the selection to
|
* **return** - _table of [types.dt_lua_image_t](../../../types/dt_lua_image_t)_ - The images to set the selection to
|
||||||
|
|
||||||
## darktable.gui.libs.select.destroy_selection **API 6.2.2**
|
## darktable.gui.libs.select.destroy_selection
|
||||||
|
|
||||||
```
|
```
|
||||||
function(
|
function(
|
||||||
|
@ -57,7 +57,7 @@ Remove a button created by darktable.gui.libs.select.register_selection.
|
||||||
|
|
||||||
* **name** - _string_ - The name of the selection button to destroy
|
* **name** - _string_ - The name of the selection button to destroy
|
||||||
|
|
||||||
## darktable.gui.libs.select.selection_set_sensitive **API 6.2.2**
|
## darktable.gui.libs.select.selection_set_sensitive
|
||||||
|
|
||||||
```
|
```
|
||||||
function(
|
function(
|
||||||
|
|
|
@ -19,7 +19,7 @@ number - The place in the screen where the line separating the snapshot is. Betw
|
||||||
Attributes:
|
Attributes:
|
||||||
* [write](../../../Attributes#write)
|
* [write](../../../Attributes#write)
|
||||||
|
|
||||||
darktable.gui.libs.snapshots.direction
|
## darktable.gui.libs.snapshots.direction
|
||||||
|
|
||||||
[types.snapshot_direction_t](../../../types/snapshot_direction_t) - The direction of the snapshot overlay
|
[types.snapshot_direction_t](../../../types/snapshot_direction_t) - The direction of the snapshot overlay
|
||||||
|
|
||||||
|
@ -28,11 +28,11 @@ Attributes:
|
||||||
|
|
||||||
## darktable.gui.libs.snapshots.#
|
## darktable.gui.libs.snapshots.#
|
||||||
|
|
||||||
[types.snapshot_direction_t](../../../types/snapshot_direction_t) - The different snapshots for the image
|
[types.dt_lua_snapshot_t](../../../types/dt_lua_snapshot_t) - Each snapshot appears with a numerical index; you can iterate over them with ipairs.
|
||||||
|
|
||||||
## darktable.gui.libs.snapshots.selected
|
## darktable.gui.libs.snapshots.selected
|
||||||
|
|
||||||
[types.snapshot_direction_t](../../../types/snapshot_direction_t) - The currently selected snapshot
|
[types.dt_lua_snapshot_t](../../../types/dt_lua_snapshot_t) - The currently selected snapshot
|
||||||
|
|
||||||
## darktable.gui.libs.snapshots.take_snapshot
|
## darktable.gui.libs.snapshots.take_snapshot
|
||||||
|
|
||||||
|
@ -46,5 +46,5 @@ The snapshot file will be generated at the next redraw of the main window
|
||||||
|
|
||||||
## darktable.gui.libs.snapshots.max_snapshot
|
## darktable.gui.libs.snapshots.max_snapshot
|
||||||
|
|
||||||
number - The maximum number of snapshots
|
[types.dt_lua_snapshot_t](../../../types/dt_lua_snapshot_t) - The maximum number of snapshots
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,6 @@ draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
||||||
**API 6.2.1**
|
|
||||||
|
|
||||||
`event`
|
`event`
|
||||||
|
|
||||||
This event is triggered whenever the selection of images changes
|
This event is triggered whenever the selection of images changes
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: view_changed
|
title: view_changed
|
||||||
id: view_changed
|
id: view_changed
|
||||||
weight: 60
|
weight: 120
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: _pdf_mode_t
|
title: _pdf_mode_t
|
||||||
id: _pdf_mode_t
|
id: _pdf_mode_t
|
||||||
weight: 150
|
weight: 10
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: _pdf_pages_t
|
title: _pdf_pages_t
|
||||||
id: _pdf_pages_t
|
id: _pdf_pages_t
|
||||||
weight: 160
|
weight: 20
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: comp_type_t
|
title: comp_type_t
|
||||||
id: comp_type_t
|
id: comp_type_t
|
||||||
weight: 370
|
weight: 30
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_collection_filter_t
|
title: dt_collection_filter_t
|
||||||
id: dt_collection_filter_t
|
id: dt_collection_filter_t
|
||||||
weight: 450
|
weight: 40
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_collection_properties_t
|
title: dt_collection_properties_t
|
||||||
id: dt_collection_properties_t
|
id: dt_collection_properties_t
|
||||||
weight: 420
|
weight: 50
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_collection_rating_comperator_t
|
title: dt_collection_rating_comperator_t
|
||||||
id: dt_collection_rating_comperator_t
|
id: dt_collection_rating_comperator_t
|
||||||
weight: 460
|
weight: 60
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_collection_sort_order_t
|
title: dt_collection_sort_order_t
|
||||||
id: dt_collection_sort_order_t
|
id: dt_collection_sort_order_t
|
||||||
weight: 440
|
weight: 70
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_collection_sort_t
|
title: dt_collection_sort_t
|
||||||
id: dt_collection_sort_t
|
id: dt_collection_sort_t
|
||||||
weight: 430
|
weight: 80
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_imageio_exr_compression_t
|
title: dt_imageio_exr_compression_t
|
||||||
id: dt_imageio_exr_compression_t
|
id: dt_imageio_exr_compression_t
|
||||||
weight: 390
|
weight: 90
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_imageio_j2k_format_t
|
title: dt_imageio_j2k_format_t
|
||||||
id: dt_imageio_j2k_format_t
|
id: dt_imageio_j2k_format_t
|
||||||
weight: 350
|
weight: 100
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_imageio_j2k_preset_t
|
title: dt_imageio_j2k_preset_t
|
||||||
id: dt_imageio_j2k_preset_t
|
id: dt_imageio_j2k_preset_t
|
||||||
weight: 360
|
weight: 110
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_imageio_module_format_data_copy
|
title: dt_imageio_module_format_data_copy
|
||||||
id: dt_imageio_module_format_data_copy
|
id: dt_imageio_module_format_data_copy
|
||||||
weight: 80
|
weight: 120
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_imageio_module_format_data_exr
|
title: dt_imageio_module_format_data_exr
|
||||||
id: dt_imageio_module_format_data_exr
|
id: dt_imageio_module_format_data_exr
|
||||||
weight: 70
|
weight: 130
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_imageio_module_format_data_j2k
|
title: dt_imageio_module_format_data_j2k
|
||||||
id: dt_imageio_module_format_data_j2k
|
id: dt_imageio_module_format_data_j2k
|
||||||
weight: 130
|
weight: 140
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_imageio_module_format_data_jpeg
|
title: dt_imageio_module_format_data_jpeg
|
||||||
id: dt_imageio_module_format_data_jpeg
|
id: dt_imageio_module_format_data_jpeg
|
||||||
weight: 100
|
weight: 150
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_imageio_module_format_data_pdf
|
title: dt_imageio_module_format_data_pdf
|
||||||
id: dt_imageio_module_format_data_pdf
|
id: dt_imageio_module_format_data_pdf
|
||||||
weight: 140
|
weight: 160
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_imageio_module_format_data_pfm
|
title: dt_imageio_module_format_data_pfm
|
||||||
id: dt_imageio_module_format_data_pfm
|
id: dt_imageio_module_format_data_pfm
|
||||||
weight: 90
|
weight: 170
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_imageio_module_format_data_png
|
title: dt_imageio_module_format_data_png
|
||||||
id: dt_imageio_module_format_data_png
|
id: dt_imageio_module_format_data_png
|
||||||
weight: 50
|
weight: 180
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_imageio_module_format_data_ppm
|
title: dt_imageio_module_format_data_ppm
|
||||||
id: dt_imageio_module_format_data_ppm
|
id: dt_imageio_module_format_data_ppm
|
||||||
weight: 110
|
weight: 190
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_imageio_module_format_data_tiff
|
title: dt_imageio_module_format_data_tiff
|
||||||
id: dt_imageio_module_format_data_tiff
|
id: dt_imageio_module_format_data_tiff
|
||||||
weight: 60
|
weight: 200
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_imageio_module_format_data_webp
|
title: dt_imageio_module_format_data_webp
|
||||||
id: dt_imageio_module_format_data_webp
|
id: dt_imageio_module_format_data_webp
|
||||||
weight: 120
|
weight: 210
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_imageio_module_format_t
|
title: dt_imageio_module_format_t
|
||||||
id: dt_imageio_module_format_t
|
id: dt_imageio_module_format_t
|
||||||
weight: 40
|
weight: 220
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_imageio_module_storage_data_email
|
title: dt_imageio_module_storage_data_email
|
||||||
id: dt_imageio_module_storage_data_email
|
id: dt_imageio_module_storage_data_email
|
||||||
weight: 190
|
weight: 240
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_imageio_module_storage_data_gallery
|
title: dt_imageio_module_storage_data_gallery
|
||||||
id: dt_imageio_module_storage_data_gallery
|
id: dt_imageio_module_storage_data_gallery
|
||||||
weight: 220
|
weight: 250
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_imageio_module_storage_data_latex
|
title: dt_imageio_module_storage_data_latex
|
||||||
id: dt_imageio_module_storage_data_latex
|
id: dt_imageio_module_storage_data_latex
|
||||||
weight: 200
|
weight: 260
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_imageio_module_storage_data_piwigo
|
title: dt_imageio_module_storage_data_piwigo
|
||||||
id: dt_imageio_module_storage_data_piwigo
|
id: dt_imageio_module_storage_data_piwigo
|
||||||
weight: 210
|
weight: 270
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_imageio_module_storage_t
|
title: dt_imageio_module_storage_t
|
||||||
id: dt_imageio_module_storage_t
|
id: dt_imageio_module_storage_t
|
||||||
weight: 180
|
weight: 280
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_lib_collect_mode_t
|
title: dt_lib_collect_mode_t
|
||||||
id: dt_lib_collect_mode_t
|
id: dt_lib_collect_mode_t
|
||||||
weight: 410
|
weight: 290
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_lib_collect_params_rule_t
|
title: dt_lib_collect_params_rule_t
|
||||||
id: dt_lib_collect_params_rule_t
|
id: dt_lib_collect_params_rule_t
|
||||||
weight: 400
|
weight: 300
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_lighttable_layout_t
|
title: dt_lighttable_layout_t
|
||||||
id: dt_lighttable_layout_t
|
id: dt_lighttable_layout_t
|
||||||
weight: 520
|
weight: 310
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_lua_align_t
|
title: dt_lua_align_t
|
||||||
id: dt_lua_align_t
|
id: dt_lua_align_t
|
||||||
weight: 480
|
weight: 320
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_lua_backgroundjob_t
|
title: dt_lua_backgroundjob_t
|
||||||
id: dt_lua_backgroundjob_t
|
id: dt_lua_backgroundjob_t
|
||||||
weight: 300
|
weight: 330
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_lua_cairo_t
|
title: dt_lua_cairo_t
|
||||||
id: dt_lua_cairo_t
|
id: dt_lua_cairo_t
|
||||||
weight: 500
|
weight: 340
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_lua_ellipsize_mode_t
|
title: dt_lua_ellipsize_mode_t
|
||||||
id: dt_lua_ellipsize_mode_t
|
id: dt_lua_ellipsize_mode_t
|
||||||
weight: 490
|
weight: 350
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_lua_film_t
|
title: dt_lua_film_t
|
||||||
id: dt_lua_film_t
|
id: dt_lua_film_t
|
||||||
weight: 240
|
weight: 360
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_lua_image_t
|
title: dt_lua_image_t
|
||||||
id: dt_lua_image_t
|
id: dt_lua_image_t
|
||||||
weight: 30
|
weight: 370
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_lua_lib_t
|
title: dt_lua_lib_t
|
||||||
id: dt_lua_lib_t
|
id: dt_lua_lib_t
|
||||||
weight: 280
|
weight: 380
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_lua_orientation_t
|
title: dt_lua_orientation_t
|
||||||
id: dt_lua_orientation_t
|
id: dt_lua_orientation_t
|
||||||
weight: 470
|
weight: 390
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_lua_snapshot_t
|
title: dt_lua_snapshot_t
|
||||||
id: dt_lua_snapshot_t
|
id: dt_lua_snapshot_t
|
||||||
weight: 310
|
weight: 400
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_lua_tag_t
|
title: dt_lua_tag_t
|
||||||
id: dt_lua_tag_t
|
id: dt_lua_tag_t
|
||||||
weight: 270
|
weight: 410
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_lua_view_t
|
title: dt_lua_view_t
|
||||||
id: dt_lua_view_t
|
id: dt_lua_view_t
|
||||||
weight: 290
|
weight: 420
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_pdf_stream_encoder_t
|
title: dt_pdf_stream_encoder_t
|
||||||
id: dt_pdf_stream_encoder_t
|
id: dt_pdf_stream_encoder_t
|
||||||
weight: 170
|
weight: 430
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_style_item_t
|
title: dt_style_item_t
|
||||||
id: dt_style_item_t
|
id: dt_style_item_t
|
||||||
weight: 260
|
weight: 440
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_style_t
|
title: dt_style_t
|
||||||
id: dt_style_t
|
id: dt_style_t
|
||||||
weight: 250
|
weight: 450
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_ui_container_t
|
title: dt_ui_container_t
|
||||||
id: dt_ui_container_t
|
id: dt_ui_container_t
|
||||||
weight: 330
|
weight: 460
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: dt_ui_panel_t
|
title: dt_ui_panel_t
|
||||||
id: dt_ui_panel_t
|
id: dt_ui_panel_t
|
||||||
weight: 510
|
weight: 470
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: hint_t
|
title: hint_t
|
||||||
id: hint_t
|
id: hint_t
|
||||||
weight: 320
|
weight: 480
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: lua_box
|
title: lua_box
|
||||||
id: lua_box
|
id: lua_box
|
||||||
weight: 580
|
weight: 490
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: lua_button
|
title: lua_button
|
||||||
id: lua_button
|
id: lua_button
|
||||||
weight: 570
|
weight: 500
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: lua_check_button
|
title: lua_check_button
|
||||||
id: lua_check_button
|
id: lua_check_button
|
||||||
weight: 550
|
weight: 510
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: lua_combobox
|
title: lua_combobox
|
||||||
id: lua_combobox
|
id: lua_combobox
|
||||||
weight: 610
|
weight: 520
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: lua_container
|
title: lua_container
|
||||||
id: lua_container
|
id: lua_container
|
||||||
weight: 540
|
weight: 530
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: lua_entry
|
title: lua_entry
|
||||||
id: lua_entry
|
id: lua_entry
|
||||||
weight: 590
|
weight: 540
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: lua_file_chooser_button
|
title: lua_file_chooser_button
|
||||||
id: lua_file_chooser_button
|
id: lua_file_chooser_button
|
||||||
weight: 620
|
weight: 550
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: lua_os_type
|
title: lua_os_type
|
||||||
id: lua_os_type
|
id: lua_os_type
|
||||||
weight: 20
|
weight: 570
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: lua_pref_type
|
title: lua_pref_type
|
||||||
id: lua_pref_type
|
id: lua_pref_type
|
||||||
weight: 380
|
weight: 580
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: lua_section_label
|
title: lua_section_label
|
||||||
id: lua_section_label
|
id: lua_section_label
|
||||||
weight: 660
|
weight: 590
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: lua_slider
|
title: lua_slider
|
||||||
id: lua_slider
|
id: lua_slider
|
||||||
weight: 640
|
weight: 610
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: lua_stack
|
title: lua_stack
|
||||||
id: lua_stack
|
id: lua_stack
|
||||||
weight: 630
|
weight: 620
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: lua_text_view
|
title: lua_text_view
|
||||||
id: lua_text_view
|
id: lua_text_view
|
||||||
weight: 650
|
weight: 630
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: lua_widget
|
title: lua_widget
|
||||||
id: lua_widget
|
id: lua_widget
|
||||||
weight: 530
|
weight: 640
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
@ -20,8 +20,6 @@ This widget has no extra registration parameters
|
||||||
|
|
||||||
# lua_widget.name
|
# lua_widget.name
|
||||||
|
|
||||||
**Lua API 6.2.0**
|
|
||||||
|
|
||||||
`string or nil`
|
`string or nil`
|
||||||
|
|
||||||
Name assigned to the widget for CSS styling purposes.
|
Name assigned to the widget for CSS styling purposes.
|
||||||
|
@ -52,8 +50,6 @@ Attributes:
|
||||||
|
|
||||||
# lua_widget.visible
|
# lua_widget.visible
|
||||||
|
|
||||||
**Lua API 7.0.0**
|
|
||||||
|
|
||||||
`boolean or nil`
|
`boolean or nil`
|
||||||
|
|
||||||
Hide or show widget. Default is show.
|
Hide or show widget. Default is show.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: overview
|
title: overview
|
||||||
id: overview
|
id: overview
|
||||||
weight: 10
|
weight: 5
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: snapshot_direction_t
|
title: snapshot_direction_t
|
||||||
id: snapshot_direction_t
|
id: snapshot_direction_t
|
||||||
weight: 340
|
weight: 650
|
||||||
draft: false
|
draft: false
|
||||||
author: "people"
|
author: "people"
|
||||||
---
|
---
|
||||||
|
|
|
@ -8,8 +8,5 @@ author: "people"
|
||||||
|
|
||||||
# Current API
|
# Current API
|
||||||
|
|
||||||
The Lua API version currently used in darktable 3.4.x is 6.1.0.
|
The Lua API version used in darktable 3.6.0 is 7.0.0.
|
||||||
|
|
||||||
# Development API
|
|
||||||
|
|
||||||
The Lua API is currently at version 6.2.2 in the development branch of darktable \(currently 3.5\). All changes for version 6.2.+ will be identified as such until version 6.2.+ is included in a darktable release.
|
|
||||||
|
|
Loading…
Reference in a new issue