Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gIconNewForString

gIconNewForString


Description

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

Usage

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

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.