getDefs {RGtkBindingGenerator} | R Documentation |
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.
getDefs(fileNames = c("gtk.defs"))
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.
|
This uses the RSPython package to call the Python parser for the defs format and return the results to R.
A list giving the "definitions" for the different types defined in the .defs file(s).
functions |
|
enums |
|
flags |
|
classes |
|
boxes |
Duncan Temple Lang <duncan@research.bell-labs.com>
http://www.omegahat.org/RGtk, http://www.omegahat.org/RGtkBindingGenerator, http://www.gtk.org http://www.pygtk.org(?)