open_containing_folder


Description:

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

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

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

Parameters:

this

a file launcher

parent

the parent window

cancellable

a cancellable to cancel the operation

callback

a callback to call when the operation is complete

user_data

data to pass to callback