diff --git a/content/lua.api.manual/darktable/gui/libs/image.md b/content/lua.api.manual/darktable/gui/libs/image.md index 47bf3c5..9a7b19d 100644 --- a/content/lua.api.manual/darktable/gui/libs/image.md +++ b/content/lua.api.manual/darktable/gui/libs/image.md @@ -48,7 +48,7 @@ The function to call when the button is pressed ``` function( - name : string, + name : string ) ``` @@ -56,3 +56,17 @@ Destroy an action created with register_action * **name** - _string_ - The name of the action to destroy +## darktable.gui.libs.image.action_set_sensitive + +``` +function( + name : string, + sensitive : boolean +) +``` + +Set the sensitivity of a button created by darktable.gui.libs.image.register_action + +* **name** - _string_ - The name of the action to destroy +* **sensitive** - _boolean_ - True to set the button sensitive, false to set it insensitive +