AppChooserButton.connectCustomItemActivated

Connect to CustomItemActivated signal.

Emitted when a custom item is activated.

Use gtk.app_chooser_button.AppChooserButton.appendCustomItem, to add custom items.

class AppChooserButton
ulong
connectCustomItemActivated
(
T
)
(
string detail = null
,,
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 &&
)
)
&&
Parameters!T.length < 3
)

Parameters

detail string

Signal detail or null (default)

callback T

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 Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: ulong

Signal ID