added darktable.gui.libs.image.action_set_sensitive
This commit is contained in:
parent
cfc239ebed
commit
fec19f9527
1 changed files with 15 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue