openContainingFolder

open fun openContainingFolder(parent: Window? = null, cancellable: <Error class: unknown class>? = null, callback: <Error class: unknown class>?)(source)

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 method@Gtk.FileLauncher.open_containing_folder_finish to obtain the result.

Since

4.10

Parameters

parent

the parent GtkWindow

cancellable

a GCancellable to cancel the operation

callback

a callback to call when the operation is complete