colorSchemesView         package:RGtkViewers         R Documentation

_G_U_I _f_o_r _e_x_a_m_i_n_i_n_g (_G_G_o_b_i) _c_o_l_o_r _s_c_h_e_m_e_s

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

     This is a GUI for examining a collection of (GGobi) color schemes.
     It presents the schemes hierarchically by type (divergent,
     sequential, qualitative, etc.), and within type by name, and
     within name it displays colors by name. When one selects a color
     scheme, it is rendered

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

     colorSchemesView(schemes, schemeCallback = NULL)

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

 schemes: a list of color schemes to display.

schemeCallback: a function to be registered with the 'GtkTreeItem' for
          the 'select' event/signal. This is expected to "display" the
          scheme. It is called with a list as the first argument and
          the 'GtkTreeItem' as the second argument. The list contains 2
          elements: the 'ColorScheme' object, and the name of the
          scheme.

_D_e_t_a_i_l_s:

     This uses the 'gtkDev' package to create an embedded graphics
     device within a Gtk GUI.

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

     A list containing the 'GtkWindow' object

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

     Duncan Temple Lang <duncan@research.bell-labs.com>

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.omegahat.org/RGtk>, <URL: http://www.ggobi.org>
     <URL: http://www.ggobi.org/data/colorschemes.xml>   <URL:
     http://www.gtk.org>

_S_e_e _A_l_s_o:

     'colorSchemesTree' 'colorSchemeTree'

_E_x_a_m_p_l_e_s:

     ## Not run: 
      require(Rggobi)
      schemes <- readXMLColorSchemes("http://www.ggobi.org/data/colorschemes.xml")
      colorSchemesView(schemes)
     ## End(Not run)

