\HeaderA{selectorWidget}{Dialog to select items from a list}{selectorWidget}
\keyword{file}{selectorWidget}
\begin{Description}\relax
Presents the user with a dialog box to select items from a list.
\end{Description}
\begin{Usage}
\begin{verbatim}
selectorWidget(options, selected = character(0), title = "Selector",
               ordersel = FALSE, ordernsel = FALSE, 
               height = max(10,min(20,length(options))))
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{options}] vector, options to be selected from
\item[\code{selected}] vector, subset of options selected by default
\item[\code{title}] character scalar, window title
\item[\code{ordersel}] boolean, keep the selected items in order?
\item[\code{ordernsel}] boolean, keep the not selected items in order?
\item[\code{height}] scalar, height of the two listboxes
\end{ldescription}
\end{Arguments}
\begin{Value}
A character vector containing the selected items. If a vector of
a different class was initially provided, it must be manually
coerced back to the correct type.
\end{Value}
\begin{Author}\relax
Colin A. Smith, \email{annaffy@colinsmith.org}
\end{Author}


