\HeaderA{gPath}{Concatenate Grob Names}{gPath}
\keyword{dplot}{gPath}
\begin{Description}\relax
This function can be used to generate a grob path for use
in \code{grid.edit} and friends.

A grob path is a list of nested grob names.
\end{Description}
\begin{Usage}
\begin{verbatim}
gPath(...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{...}] Character values which are grob names. 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
Grob names must only be unique amongst grobs which
share the same parent in a gTree.

This function can be used to generate a specification for
a grob that includes the grob's parent's name
(and the name of its parent and so on).

For interactive use, it is possible to directly specify
a path, but it is strongly recommended that this function
is used otherwise in case the path separator is changed
in future versions of grid.
\end{Details}
\begin{Value}
A \code{ gPath } object.
\end{Value}
\begin{SeeAlso}\relax
\code{\LinkA{grob}{grob}},
\code{\LinkA{editGrob}{editGrob}},
\code{\LinkA{addGrob}{addGrob}},
\code{\LinkA{removeGrob}{removeGrob}},
\code{\LinkA{getGrob}{getGrob}},
\code{\LinkA{setGrob}{setGrob}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
gPath("g1", "g2")
\end{ExampleCode}
\end{Examples}

