FileChooserT.connectFileActivated

Connect to FileActivated signal.

This signal is emitted when the user "activates" a file in the file chooser. This can happen by double-clicking on a file in the file list, or by pressing Enter.

Normally you do not need to connect to this signal. It is used internally by #GtkFileChooserDialog to know when to activate the default button in the dialog.

See also: gtk.file_chooser.FileChooser.getFilename, gtk.file_chooser.FileChooser.getFilenames, gtk.file_chooser.FileChooser.getUri, gtk.file_chooser.FileChooser.getUris.

template FileChooserT()
gulong
connectFileActivated
(
T
)
(,
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.file_chooser.FileChooser)
)
)
&&
Parameters!T.length < 2
)

Parameters

callback T

signal callback delegate or function to connect

void callback(gtk.file_chooser.FileChooser fileChooser)

fileChooser 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: gulong

Signal ID