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

« back to all changes in this revision

Viewing changes to man/gtkIconSetAddSource.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
1
\alias{gtkIconSetAddSource}
2
2
\name{gtkIconSetAddSource}
3
3
\title{gtkIconSetAddSource}
4
 
\description{Icon sets have a list of \verb{\link{GtkIconSource}}, which they use as base
 
4
\description{Icon sets have a list of \code{\link{GtkIconSource}}, which they use as base
5
5
icons for rendering icons in different states and sizes. Icons are
6
6
scaled, made to look insensitive, etc. in
7
 
\code{\link{gtkIconSetRenderIcon}}, but \verb{\link{GtkIconSet}} needs base images to
 
7
\code{\link{gtkIconSetRenderIcon}}, but \code{\link{GtkIconSet}} needs base images to
8
8
work with. The base images and when to use them are described by
9
 
a \verb{\link{GtkIconSource}}.}
 
9
a \code{\link{GtkIconSource}}.}
10
10
\usage{gtkIconSetAddSource(object, source)}
11
11
\arguments{
12
 
\item{\verb{object}}{[\verb{\link{GtkIconSet}}]  a \verb{\link{GtkIconSet}}}
13
 
\item{\verb{source}}{[\verb{\link{GtkIconSource}}]  a \verb{\link{GtkIconSource}}}
 
12
\item{\verb{object}}{a \code{\link{GtkIconSet}}}
 
13
\item{\verb{source}}{a \code{\link{GtkIconSource}}}
14
14
}
15
15
\details{This function copies \code{source}, so you can reuse the same source immediately
16
16
without affecting the icon set.
24
24
  
25
25
You should nearly always add a "default" icon source with all
26
26
fields wildcarded, which will be used as a fallback if no more
27
 
specific source matches. \verb{\link{GtkIconSet}} always prefers more specific
 
27
specific source matches. \code{\link{GtkIconSet}} always prefers more specific
28
28
icon sources to more generic icon sources. The order in which you
29
29
add the sources to the icon set does not matter.
30
30
  \code{\link{gtkIconSetNewFromPixbuf}} creates a new icon set with a
31
 
default icon source based on the given pixbuf.  }
 
31
default icon source based on the given pixbuf.}
32
32
\author{Derived by RGtkGen from GTK+ documentation}
33
33
\keyword{internal}