gIconNewForString: gIconNewForString

Description Usage Arguments Details Value Author(s)

View source: R/gioFuncs.R

Description

Generate a GIcon instance from str. This function can fail if str is not valid - see gIconToString for discussion.

Usage

1
gIconNewForString(str, .errwarn = TRUE)

Arguments

str

A string obtained via gIconToString.

.errwarn

Whether to issue a warning on error or fail silently

Details

If your application or library provides one or more GIcon implementations you need to ensure that each GType is registered with the type system prior to calling gIconNewForString. Since 2.20

Value

A list containing the following elements:

retval

[GIcon] An object implementing the GIcon interface or NULL if error is set.

error

Return location for error.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.