Package: gtk

Function gtk-action-block-activate

Lambda List

gtk-action-block-activate (action)

Arguments

action -- a gtk-action object

Details

Disable activation signals from the action.

This is needed when updating the state of your gtk-activatable proxy widget could result in calling the gtk-action-activate function, this is a convenience function to avoid recursing in those cases, updating toggle state for instance.

Warning

The gtk-action-block-activate function has been deprecated since version 3.10 and should not be used in newly written code. Use the g-simple-action-enabled function to disable the g-simple-action object instead.
 

See also

2021-9-8