gAppInfoSetAsDefaultForType {RGtk2} | R Documentation

## gAppInfoSetAsDefaultForType

### Description

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

### Usage

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

### Arguments

``object`` | a `GAppInfo`.
``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`.

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]