Created
July 7, 2020 14:39
-
-
Save rkc-rkc/e6db995094e37c02a19ff524c8a72797 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local dt = require("darktable") | |
local function vcb() --evt, ov, nv) | |
print('funny') | |
end | |
local function cb() --evt, img, xtra) | |
print('fun') | |
end | |
do | |
print("DT API Version " .. dt.configuration.api_version_string) | |
dt.print_log("gonna register") | |
dt.register_event("mouse-over-image-changed", vcb, "Mouse over on image") | |
-- dt.register_event("shortcut", cb, "Mouse over on image") | |
-- dt.register_event("view-changed", vcb, "View Changed") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment