~ubuntu-branches/ubuntu/trusty/rgtk2/trusty

« back to all changes in this revision

Viewing changes to man/gIconNewForString.Rd

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2010-11-03 11:35:46 UTC
  • mfrom: (1.3.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20101103113546-a7fi7jdxdebp0tw1
Tags: 2.20.1-1
* New upstream release

* debian/control: Set (Build-)Depends: to current R version
* debian/control: Set Standards-Version: to current version 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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)}
 
7
\arguments{
 
8
\item{\verb{str}}{A string obtained via \code{\link{gIconToString}}.}
 
9
\item{.errwarn}{Whether to issue a warning on error or fail silently}
 
10
}
 
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}}.
 
14
  Since 2.20}
 
15
\value{
 
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
 
18
\code{error} is set.}
 
19
\item{\verb{error}}{Return location for error.}
 
20
}
 
21
\author{Derived by RGtkGen from GTK+ documentation}
 
22
\keyword{internal}