S4ClassView {RGtkViewers}R Documentation

GUI for S4 class hierarchy

Description

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.

Usage

S4ClassView(classes = getClasses(where = where), where = get(SessionClassMetaData))

Arguments

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.

Details

Value

The top-level Gtk GUI window displaying the class hierarchy. This is an object of class GtkWindow.

Note

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.

Author(s)

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

References

http://www.omegahat.org/RGtk, http://www.omegahat.org/RSMethods/index.html http://www.gtk.org

See Also

getS4ClassHierarchy showClassSlots getClassMethods showClassMethods createInheritanceTree

Examples

  library(methods)
  S4ClassView()

[Package RGtkViewers version 0.7-4 Index]