Commit Graph

15 Commits

Author SHA1 Message Date
wpferguson
b1498aa664 inline if didn't work. Added intermediate register_event function in transition library 2021-02-10 00:18:48 -05:00
wpferguson
ade7008127 Added compatibility for lua events API change 6.2.1. 2021-02-01 18:27:20 -05:00
Bill Ferguson
509c7da384 changed darktable.current_view().name to darktable.current_view().id for view check because name is translated and id is not. 2020-08-16 13:18:27 -04:00
Bill Ferguson
2ddd0965cd Added check to ensure we are in lighttable view prior to callling darktable.register_lib. If darktable was invoked in single image (darkroom) mode, then an event handler is registered to detect the change from darkroom mode to lighttable mode so that we can then call darktable.register_lib. 2020-08-08 22:40:54 -04:00
Bill Ferguson
0856858e73 Updated comments to reflect current usage practices. Added/updated links to the online manual for each of the widgets. Added translation. Removed reference to api_major_version 6 2020-05-08 00:15:31 -04:00
Bill Ferguson
8b714edb67 Changed check_min_api_version() to print error messages and throw an error if the minimum api is not satisfied. Updated the scripts to reflect the changed check_min_api_version(). 2019-02-20 00:22:05 -05:00
Bill Ferguson
451c7fb956 Added check_min_api_function to dtutils.lua to check the minimum version of the lua API required for a script to run. This is intended to replace the API check done with darktable.configuration.check_version(), which requires changing each time the API version changes. check_min_api_version should work for all API version changes unless backward compatibility is broken. All the scripts using darktable.configuration.check_version() were changed to use check_min_api_version(). 2019-02-18 19:46:11 -05:00
supertobi
20a31b39e0 Added section_label moduleExample.lua 2017-10-10 20:22:39 +02:00
supertobi
75cb1a5fdd added {5,0,0} to the check_version 2017-09-26 14:55:07 +02:00
Bill Ferguson
93e30a8542 Verified API 4.0.0 compatibility and made the necessary changes 2016-11-07 22:53:52 -05:00
supertobi
2b577f9755 improved the entry and file_chooser_button examples 2016-04-07 23:29:08 +02:00
supertobi
0c9d4a5de4 added tooltip to new_widget("entry") 2016-03-23 10:32:16 +01:00
supertobi
102ea2da7a Added comment
This is an alternative way to the "{}" syntax to set a property
2016-03-13 21:11:04 +01:00
supertobi
e1a2fbfaa6 Copy past error in the copyright line 2016-03-13 21:07:32 +01:00
supertobi
b2754e3036 Create moduleExample.lua
lua_gui_example
2016-03-12 00:09:37 +01:00