RGtk2 (version 2.20.31)

gAppInfoSetAsDefaultForType: gAppInfoSetAsDefaultForType

Description

Sets the application as the default handler for a given type.

Usage

gAppInfoSetAsDefaultForType(object, content.type, .errwarn = TRUE)

Arguments

object
content.type
the content type.
.errwarn
Whether to issue a warning on error or fail silently

Value

A list containing the following elements:
retval
[logical] TRUE on success, FALSE on error.
error
a GError.