ActionGroup.connectConnectProxy
gulong connectConnectProxy(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.action.Action)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.widget.Widget)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gtk.action_group.ActionGroup)))
&& Parameters!T.length < 4)Connect to ConnectProxy signal.
The ::connect-proxy signal is emitted after connecting a proxy to an action in the group. Note that the proxy may have been connected to a different action before.
This is intended for simple customizations for which a custom action class would be too clumsy, e.g. showing tooltips for menuitems in the statusbar.
#GtkUIManager proxies the signal and provides global notification just before any action is connected to a proxy, which is probably more convenient to use.
Parameters
callback | signal callback delegate or function to connect void callback(gtk.action.Action action, gtk.widget.Widget proxy, gtk.action_group.ActionGroup actionGroup) action the action (optional) proxy the proxy (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