RGtk2 (version 2.20.31)

gAppInfoAddSupportsType: gAppInfoAddSupportsType

Description

Adds a content type to the application information to indicate the application is capable of opening files with the given content type.

Usage

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

Arguments

object
content.type
a string.
.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.