showClassMethods {RGtkViewers} | R Documentation |
Display information about the methods or slots for an S4-style class
showClassMethods(mlist, glist, callback, className) showClassSlots(className, html)
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. |
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
GtkListItem
s created to display the names
of the generic functions for which there are methods
for the given class.
Duncan Temple Lang <duncan@research.bell-labs.com>
http://www.omegahat.org/RGtk, http://www.omegahat.org/RSMethods/index.html http://www.gtk.org