FileLauncher.openContainingFolder

void openContainingFolder(gtk.window.Window parent = null, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Launch a file manager to show the file in its parent directory.

This is only supported native files. It will fail if file is e.g. a http:// uri.

The callback will be called when the operation is completed. It should call gtk.file_launcher.FileLauncher.openContainingFolderFinish to obtain the result.

Parameters

parentthe parent gtk.window.Window
cancellablea gio.cancellable.Cancellable to cancel the operation
callbacka callback to call when the operation is complete