AppChooserButton.connectCustomItemActivated
gulong connectCustomItemActivated(T)(string detail = null, 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] == string)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.app_chooser_button.AppChooserButton)))
&& Parameters!T.length < 3)Connect to CustomItemActivated signal.
Emitted when a custom item, previously added with [gtk.app_chooser_button.AppChooserButton.appendCustomItem], is activated from the dropdown menu.
Parameters
detail | Signal detail or null (default) |
callback | signal callback delegate or function to connect void callback(string itemName, gtk.app_chooser_button.AppChooserButton appChooserButton) itemName the name of the activated item (optional) appChooserButton 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