Rdocumentation
powered by
Learn R Programming
RGtk2 (version 2.20.1)
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
a
GAppInfo
.
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
.