FileLauncher.openContainingFolder

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.

class FileLauncher
void
openContainingFolder

Parameters

parent gtk.window.Window
cancellable gio.cancellable.Cancellable

a gio.cancellable.Cancellable to cancel the operation

callback gio.types.AsyncReadyCallback

a callback to call when the operation is complete