S4ClassView {RGtkViewers} | R Documentation |
This is the user-level entry point that provides a basic, but customizable, GUI for exploring an S4 class hierarchy, specifically: the class inheritance relationships, the slots within different classes and the methods defined for different classes.
S4ClassView(classes = getClasses(where = where), where = get(SessionClassMetaData))
classes |
a list of the classes of interest. |
where |
if classes is not specified, this value can be
used to identify a particular environment/library/package
in which to find the classes. |
The top-level Gtk GUI window displaying the class hierarchy.
This is an object of class GtkWindow
.
This uses other functions to build the hierarchy and the Gtk tree to represent it. These can be used directly to create a customized version of this viewer, e.g. embedded in a larger GUI, customized with different callbacks for the classes, etc.
Duncan Temple Lang <duncan@research.bell-labs.com>
http://www.omegahat.org/RGtk, http://www.omegahat.org/RSMethods/index.html http://www.gtk.org
getS4ClassHierarchy
showClassSlots
getClassMethods
showClassMethods
createInheritanceTree
library(methods) S4ClassView()