Package: gtk

Function gtk:file-launcher-open-containing-folder

Lambda List

gtk:file-launcher-open-containing-folder (launcher parent cancellable func)

Arguments

launcher -- a gtk:file-launcher object
parent -- a gtk:window parent window
cancellable -- a g:cancellable object to cancel the operation
func -- a g:async-ready-callback callback function to call when the operation is complete

Details

Launch a file manager to show the file in its parent directory. This is only supported native files. It will fail if file is, for example, a http:// URI.

The callback function will be called when the operation is completed. It should call the gtk:file-launcher-open-containing-folder-finish function to obtain the result.

Since 4.10
 

See also

#2023-10-12