\Header{grid.get}{Get the Contents of a Grid Graphical Object}
\keyword{dplot}{grid.get}
\begin{Description}\relax
A Grid graphical object contains a list structure;  this
function returns that list structure.\end{Description}
\begin{Usage}
\begin{verbatim}
grid.get(grob, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{grob}] An object of class \code{"grob"}.
\item[\code{...}] Zero or more element-specifiers.  Each specifier
may be a single character or numeric value.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
If there are no specifiers then the value returned is just the
list structure of the \code{grob}.  If there is a specifier
and the list structure of the \code{grob} has a corresponding
element, and that element is an object of class \code{"grob"},
then the return value is the list structure within that element.
And so on ...

Typically, users will not need to call this function, even
when writing their own graphical objects.  Most graphical object
methods will work only with the list structure.\end{Details}
\begin{Value}
A list structure.\end{Value}
\begin{Author}\relax
Paul Murrell\end{Author}
\begin{SeeAlso}\relax
\code{\Link{grid.grob}}.\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
xa <- grid.xaxis(draw=FALSE)
grid.get(xa)
grid.get(xa, "ticks")

temp <- grid.collection(axis=grid.xaxis(draw=FALSE), draw=FALSE)
grid.get(temp, "children", "axis", "ticks")
\end{ExampleCode}
\end{Examples}

