1
\alias{gIconNewForString}
2
\name{gIconNewForString}
3
\title{gIconNewForString}
4
\description{Generate a \code{\link{GIcon}} instance from \code{str}. This function can fail if
5
\code{str} is not valid - see \code{\link{gIconToString}} for discussion.}
6
\usage{gIconNewForString(str, .errwarn = TRUE)}
8
\item{\verb{str}}{A string obtained via \code{\link{gIconToString}}.}
9
\item{.errwarn}{Whether to issue a warning on error or fail silently}
11
\details{If your application or library provides one or more \code{\link{GIcon}}
12
implementations you need to ensure that each \code{\link{GType}} is registered
13
with the type system prior to calling \code{\link{gIconNewForString}}.
16
A list containing the following elements:
17
\item{retval}{[\code{\link{GIcon}}] An object implementing the \code{\link{GIcon}} interface or \code{NULL} if
19
\item{\verb{error}}{Return location for error.}
21
\author{Derived by RGtkGen from GTK+ documentation}