showClassMethods {RGtkViewers}R Documentation

Display fields or methods of a class

Description

Display information about the methods or slots for an S4-style class

Usage

 showClassMethods(mlist, glist, callback, className)
 showClassSlots(className, html)

Arguments

mlist a list of the different methods to display. This is a named list of methods for different functions. Each element is itself a MethodList object. These should have been ``linearized'' and usually this function will be called with the results from getClassMethods.
glist a GtkList object used to display the names of the functions for which there are methods in mlist.
callback a callback function that is registered with each element in the glist and which is called when that element is ``selected'' by the user.
className the name of the class being displayed or documented and for which the methods have been found. This is used in the callback function data.
html the GtkHTML widget used to display the slot information for the particular class.

Details

Value

In both cases, the side effect of updating the GUI is the desired result. showClassSlots returns the HTML text. showClassMethods returns a list of the GtkListItems created to display the names of the generic functions for which there are methods for the given class.

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

getClassMethods S4ClassView

Examples



[Package RGtkViewers version 0.7-4 Index]