getConstructors     package:RGtkBindingGenerator     R Documentation

_I_d_e_n_t_i_f_i_e_s _c_o_n_s_t_r_u_c_t_o_r_s _r_o_u_t_i_n_e _d_e_f_i_n_i_t_i_o_n_s _f_o_r _a_l_l _c_l_a_s_s_e_s

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

     This searches the class and function definitions read from the
     .defs files and returns the constructor functions, identified by
     those routines with a '_new' in their names.

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

     getConstructors(defs)

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

    defs: the entire collection of symbolic definitions for the Gtk
          classes, routines, etc. read from the .defs files via
          'getDefs'. 

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

     This raises a warning if it finds a constructor function without a
     class definition with the associated name.

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

     A named character vector giving the names of the constructors
     indexed by the associated class name, i.e. the elements are the
     names of the constructor routines and the names of the elements
     are the class names.

_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/RGtkBindingGenerator>, <URL:
     http://www.gtk.org> <URL: http://www.pygtk.org>(?)

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

     'collapseConstructors'

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

      data(GtkDefs)
      getConstructors(GtkDefs)

