selectorWidget            package:annaffy            R Documentation

_D_i_a_l_o_g _t_o _s_e_l_e_c_t _i_t_e_m_s _f_r_o_m _a _l_i_s_t

_D_e_s_c_r_i_p_t_i_o_n:

     Presents the user with a dialog box to select items from a list.

_U_s_a_g_e:

     selectorWidget(options, selected = character(0), title = "Selector",
                    ordersel = FALSE, ordernsel = FALSE, 
                    height = max(10,min(20,length(options))))

_A_r_g_u_m_e_n_t_s:

 options: vector, options to be selected from

selected: vector, subset of options selected by default

   title: character scalar, window title

ordersel: boolean, keep the selected items in order?

ordernsel: boolean, keep the not selected items in order?

  height: scalar, height of the two listboxes

_V_a_l_u_e:

     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.

_A_u_t_h_o_r(_s):

     Colin A. Smith, annaffy@colinsmith.org

