createDatabaseTree        package:RGtkViewers        R Documentation

_G_e_n_e_r_a_l _f_u_n_c_t_i_o_n _f_o_r _c_r_e_a_t_i_n_g _G_t_k _t_r_e_e_s _f_r_o_m _D_B_M_S _s_c_h_e_m_a

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

     This is a utility function that is used to centralize computations
     to construct a Gtk tree for representing different parts of the
     contents of a DBMS. It relies on being parameterized with
     functions that handle computing the elements for the given level,
     processing the resulting tree item nodes and also callbacks for
     when the object is selected or not.

     This is not used in the more efficient ``lazy'' database tree
     which computes the sub-trees dynamically on demand.

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

     createDatabaseTree(x, callbacks = NULL, children = NULL, ancestors = character(), expands = NULL, itemHandlers = NULL)

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

       x: a character vector giving the nodes to be created for this
          level

callbacks: currently ignored!. A list of callbacks to register with the
          nodes.  

children: 

ancestors: 

 expands: 

itemHandlers: 

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

     A 'GtkTree' 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.omegahat.org/RSDBI> <URL: http://www.gtk.org>

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

     'databaseView'

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

