action_set_enabled


Description:

public void action_set_enabled (string action_name, bool enabled)

Enables or disables an action installed with [method@Gtk.

WidgetClass.install_action].

Parameters:

this

a widget

action_name

action name, such as "clipboard.paste"

enabled

whether the action is now enabled