open_containing_folder


Description:

public async bool open_containing_folder (Window? parent, Cancellable? cancellable) throws Error

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.

Parameters:

this

a `GtkFileLauncher`

parent

the parent `GtkWindow`

cancellable

a `GCancellable` to cancel the operation

callback

a callback to call when the operation is complete

user_data

data to pass to callback