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

« back to all changes in this revision

Viewing changes to man/gtkRcGetStyleByPaths.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{gtkRcGetStyleByPaths}
2
2
\name{gtkRcGetStyleByPaths}
3
3
\title{gtkRcGetStyleByPaths}
4
 
\description{Creates up a \verb{\link{GtkStyle}} from styles defined in a RC file by providing
 
4
\description{Creates up a \code{\link{GtkStyle}} from styles defined in a RC file by providing
5
5
the raw components used in matching. This function may be useful
6
6
when creating pseudo-widgets that should be themed like widgets but
7
7
don't actually have corresponding GTK+ widgets. An example of this
8
8
would be items inside a GNOME canvas widget.}
9
9
\usage{gtkRcGetStyleByPaths(settings, widget.path, class.path, type)}
10
10
\arguments{
11
 
\item{\verb{settings}}{[\verb{\link{GtkSettings}}]  a \verb{\link{GtkSettings}} object}
12
 
\item{\verb{widget.path}}{[char]  the widget path to use when looking up the style, or \code{NULL}
13
 
              if no matching against the widget path should be done}
14
 
\item{\verb{class.path}}{[char]  the class path to use when looking up the style, or \code{NULL}
15
 
              if no matching against the class path should be done.}
16
 
\item{\verb{type}}{[\verb{\link{GType}}]  a type that will be used along with parent types of this type
 
11
\item{\verb{settings}}{a \code{\link{GtkSettings}} object}
 
12
\item{\verb{widget.path}}{ the widget path to use when looking up the style, or \code{NULL}
 
13
              if no matching against the widget path should be done. \emph{[  \acronym{allow-none}  ]}}
 
14
\item{\verb{class.path}}{ the class path to use when looking up the style, or \code{NULL}
 
15
              if no matching against the class path should be done. \emph{[  \acronym{allow-none}  ]}}
 
16
\item{\verb{type}}{a type that will be used along with parent types of this type
17
17
       when matching against class styles, or \verb{G_TYPE_NONE}}
18
18
}
19
19
\details{The action of \code{\link{gtkRcGetStyle}} is similar to:
21
21
path <- widget$path()$path
22
22
class_path <- widget$classPath()$path
23
23
gtkRcGetStyleByPaths(widget$getSettings(), path, class_path, class(widget)[1])
24
 
}  }
25
 
\value{[\verb{\link{GtkStyle}}]  A style created by matching with the supplied paths,
 
24
}}
 
25
\value{[\code{\link{GtkStyle}}]  A style created by matching with the supplied paths,
26
26
  or \code{NULL} if nothing matching was specified and the default style should
27
27
  be used.}
28
28
\author{Derived by RGtkGen from GTK+ documentation}