ActionGroup.connectActionEnabledChanged
gulong connectActionEnabledChanged(T)(string detail = null, T callback, Flag!"After" after = No.After)Connect to ActionEnabledChanged signal.
Signals that the enabled status of the named action has changed.
Parameters
detail | Signal detail or null (default) |
callback | signal callback delegate or function to connect void callback(string actionName, bool enabled, gio.action_group.ActionGroup actionGroup) actionName the name of the action in action_group (optional) enabled whether the action is enabled or not (optional) actionGroup the instance the signal is connected to (optional) |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID