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

« back to all changes in this revision

Viewing changes to man/gtkIconSizeLookupForSettings.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:
2
2
\name{gtkIconSizeLookupForSettings}
3
3
\title{gtkIconSizeLookupForSettings}
4
4
\description{Obtains the pixel size of a semantic icon size, possibly
5
 
modified by user preferences for a particular 
6
 
\verb{\link{GtkSettings}}. Normally \code{size} would be
 
5
modified by user preferences for a particular
 
6
\code{\link{GtkSettings}}. Normally \code{size} would be
7
7
\verb{GTK_ICON_SIZE_MENU}, \verb{GTK_ICON_SIZE_BUTTON}, etc.  This function
8
8
isn't normally needed, \code{\link{gtkWidgetRenderIcon}} is the usual
9
9
way to get an icon for rendering, then just look at the size of
13
13
the usual size.}
14
14
\usage{gtkIconSizeLookupForSettings(settings, size)}
15
15
\arguments{
16
 
\item{\verb{settings}}{[\verb{\link{GtkSettings}}]  a \verb{\link{GtkSettings}} object, used to determine
 
16
\item{\verb{settings}}{a \code{\link{GtkSettings}} object, used to determine
17
17
  which set of user preferences to used.}
18
 
\item{\verb{size}}{[\code{\link{GtkIconSize}}]  an icon size}
 
18
\item{\verb{size}}{ an icon size. \emph{[type int]}}
19
19
}
20
 
\details{  Since  2.2}
 
20
\details{Since 2.2}
21
21
\value{
22
22
A list containing the following elements:
23
23
\item{retval}{[logical] \code{TRUE} if \code{size} was a valid size}
24
 
\item{\verb{width}}{[integer]  location to store icon width}
25
 
\item{\verb{height}}{[integer]  location to store icon height}
 
24
\item{\verb{width}}{location to store icon width}
 
25
\item{\verb{height}}{location to store icon height}
26
26
}
27
27
\author{Derived by RGtkGen from GTK+ documentation}
28
28
\keyword{internal}