MenuShell.connectActivateCurrent
gulong connectActivateCurrent(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] == bool)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.menu_shell.MenuShell)))
&& Parameters!T.length < 3)Connect to ActivateCurrent signal.
An action signal that activates the current menu item within the menu shell.
Parameters
callback | signal callback delegate or function to connect void callback(bool forceHide, gtk.menu_shell.MenuShell menuShell) forceHide if true, hide the menu after activating the menu item (optional) menuShell 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