getClassList {RGtkBindingGenerator} | R Documentation |
This returns a vector of the names of the ancestor
classes for the Gtk class given by name
.
This is used as the S3-style class attribute
for a Gtk object.
(The vector also contains name
itself, giving
an appropriate class vector for the Gtk object.)
getClassList(name, classes)
name |
the name of the Gtk class whose ancestor classes are to be determined. |
classes |
the list of class definitions from the .defs files |
This recursively walks its way up the Gtk class hierarchy
in classes
by finding the parent class.
A character vector containing
name
and its ancestor classes, in the order
in which they inherit from each other - most specific to least specific.
Duncan Temple Lang <duncan@research.bell-labs.com>
http://www.omegahat.org/RGtk http://www.omegahat.org/GtkAutoBindingGen http://www.gtk.org
data(GtkDefs) getClassList("GtkDrawingArea", GtkDefs$classes)