FileChooserT.connectSelectionChanged

Connect to SelectionChanged signal.

This signal is emitted when there is a change in the set of selected files in a #GtkFileChooser. This can happen when the user modifies the selection with the mouse or the keyboard, or when explicitly calling functions to change the selection.

Normally you do not need to connect to this signal, as it is easier to wait for the file chooser to finish running, and then to get the list of selected files using the functions mentioned below.

See also: gtk.file_chooser.FileChooser.selectFilename, gtk.file_chooser.FileChooser.unselectFilename, gtk.file_chooser.FileChooser.getFilename, gtk.file_chooser.FileChooser.getFilenames, gtk.file_chooser.FileChooser.selectUri, gtk.file_chooser.FileChooser.unselectUri, gtk.file_chooser.FileChooser.getUri, gtk.file_chooser.FileChooser.getUris.

template FileChooserT()
gulong
connectSelectionChanged
(
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