query_default_handler


Description:

public AppInfo query_default_handler (Cancellable? cancellable = null) throws Error

Returns the AppInfo that is registered as the default application to handle the file specified by this.

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.

Parameters:

this

a File to open

cancellable

optional Cancellable object, null to ignore

Returns:

a AppInfo if the handle was found, null if there were errors. When you are done with it, release it with unref