Widget.actionSetEnabled

void actionSetEnabled(string actionName, bool enabled)

Enable or disable an action installed with gtk.widget_class.WidgetClass.installAction.

Parameters

actionNameaction name, such as "clipboard.paste"
enabledwhether the action is now enabled