queryDefaultHandler

open fun queryDefaultHandler(cancellable: Cancellable? = null): <Error class: unknown class><AppInfo>

Returns the #GAppInfo that is registered as the default application to handle the file specified by @file.

If @cancellable is not null, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.

Return

a #GAppInfo if the handle was found, null if there were errors. When you are done with it, release it with g_object_unref()

Parameters

cancellable

optional #GCancellable object, null to ignore