getDefs         package:RGtkBindingGenerator         R Documentation

_R_e_a_d _a_n_d _p_a_r_t_i_a_l_l_y _p_r_o_c_e_s_s ._d_e_f_s _f_i_l_e_s

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

     This is the basic high-level/user-level function for reading into
     R a collection of .defs files containing the descriptions of Gtk
     classes, functions, enumerations, etc. This uses 'getRawDefs' to
     bring the basic tables of descriptions into R and then
     post-processes these to organize the lists of lists into classes
     describing the different parts of the definitions. For example, it
     puts names on the different parameters

     This uses the parser written in Python to read the specified .defs
     files and return them to R as a collection of tables.

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

     getDefs(fileNames = c("gtk.defs"))

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

fileNames: a single string or character vector of length 1 giving the
          names of the different .defs file containing the definitions
          of the class, functions, enums, etc. For the moment, one can
          process multiple files by separate calls to 'getDefs'
          followed by  calls to 'mergeDefs'. In the future, we will
          determine if the Python parser  should be used to read
          multiple files.     

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

     This uses the RSPython package to call the Python parser for the
     defs format and return the results to R.

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

     A list giving the "definitions" for the different types defined 
     in the .defs file(s). 

functions: 

   enums: 

   flags: 

 classes: 

   boxes: 

_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:

     'getRawDefs'

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

