FileChooser.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.

interface FileChooser
gulong
connectFileActivated
(
T
)
(,
Flag!"After" after = No.After
)

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