getConstructors {RGtkBindingGenerator}R Documentation

Identifies constructors routine definitions for all classes

Description

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.

Usage

getConstructors(defs)

Arguments

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

Details

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

Value

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.

Author(s)

Duncan Temple Lang <duncan@research.bell-labs.com>

References

http://www.omegahat.org/RGtk, http://www.omegahat.org/RGtkBindingGenerator, http://www.gtk.org http://www.pygtk.org(?)

See Also

collapseConstructors

Examples

 data(GtkDefs)
 getConstructors(GtkDefs)

[Package RGtkBindingGenerator version 0.3 Index]