showClassMethods         package:RGtkViewers         R Documentation

_D_i_s_p_l_a_y _f_i_e_l_d_s _o_r _m_e_t_h_o_d_s _o_f _a _c_l_a_s_s

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

     Display information about the methods or slots for an S4-style
     class

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

      showClassMethods(mlist, glist, callback, className)
      showClassSlots(className, html)

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

   mlist: a list of the different methods to display. This is a named
          list of methods for different functions. Each element is
          itself a 'MethodList' object. These should have been
          ``linearized'' and usually this function will be called with
          the results from 'getClassMethods'.

   glist: a 'GtkList' object used to display the  names of the
          functions for which there are methods in 'mlist'.

callback: a callback function that is registered with each element in
          the 'glist' and which is called when that element is
          ``selected'' by the user.

className: the name of the class being displayed or documented and for
          which the methods have been found. This is used in the
          callback function data.

    html: the 'GtkHTML' widget used to display the slot information for
          the particular class.

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

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

     In both cases, the side effect of updating the GUI is the desired
     result. 'showClassSlots' returns the HTML text. 'showClassMethods'
     returns a list of the 'GtkListItem's created to display the names
     of the generic functions for which there are methods for the given
     class.

_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/RSMethods/index.html> <URL:
     http://www.gtk.org>

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

     'getClassMethods' 'S4ClassView'

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

