getClassList {RGtkBindingGenerator}R Documentation

All defined classes in files

Description

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.)

Usage

getClassList(name, classes)

Arguments

name the name of the Gtk class whose ancestor classes are to be determined.
classes the list of class definitions from the .defs files

Details

This recursively walks its way up the Gtk class hierarchy in classes by finding the parent class.

Value

A character vector containing name and its ancestor classes, in the order in which they inherit from each other - most specific to least specific.

Author(s)

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

References

http://www.omegahat.org/RGtk http://www.omegahat.org/GtkAutoBindingGen http://www.gtk.org

See Also

Examples

 data(GtkDefs)
 getClassList("GtkDrawingArea", GtkDefs$classes)

[Package RGtkBindingGenerator version 0.3 Index]