set_as_last_used_for_type


Description:

public abstract bool set_as_last_used_for_type (string content_type) throws Error

Sets the application as the last used application for a given type.

This will make the application appear as first in the list returned by [func@Gio.AppInfo.get_recommended_for_type], regardless of the default application for that content type.

Parameters:

this

the app info

content_type

the content type.

Returns:

`TRUE` on success, `FALSE` on error.