Action.blockActivate

void blockActivate()

Disable activation signals from the action

This is needed when updating the state of your proxy #GtkActivatable widget could result in calling [gtk.action.Action.activate], this is a convenience function to avoid recursing in those cases (updating toggle state for instance).

Deprecated

Use [gio.simple_action.SimpleAction.setEnabled] to disable the

#GSimpleAction instead