\HeaderA{editDetails}{Customising grid Editing}{editDetails}
\keyword{dplot}{editDetails}
\begin{Description}\relax
This generic hook function is called whenever a grid grob is edited
via \code{grid.edit} or \code{editGrob}.
This provides an opportunity for customising the editing of a
new class derived from grob (or gTree).
\end{Description}
\begin{Usage}
\begin{verbatim}
editDetails(x, specs)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] A grid grob. 
\item[\code{specs}] A list of named elements.  The names indicate the
grob slots to modify and the values are the new values for the slots. 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
This function is called by \code{grid.edit} and \code{editGrob}.
A method should be written for classes derived from grob or gTree
if a change in a slot has an effect on other slots in the grob or
children of a gTree (e.g., see \code{grid:::editDetails.xaxis}).

Note that the slot already has the new value.
\end{Details}
\begin{Value}
The function MUST return the modified grob.
\end{Value}
\begin{Author}\relax
Paul Murrell
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{grid.edit}{grid.edit}}
\end{SeeAlso}

