.getAutoMethodByName {RGtk}R Documentation

Locates Gtk class methods for an object

Description

These functions are used to access Gtk class-specific methods using the $ operator, as in obj$Add. These look for the method name for each of the classes from which obj inherits.

Usage

.getAutoMethodByName(obj, name, prefix=c("Gtk", "gtk"))
.getAutoElementByName(obj, name, prefix=c("Gtk", "gtk"), error = TRUE)

Arguments

obj the GtkObject which defines the classes of interest.
name the name of the method or accessor being sought.
prefix a vector giving a pair of values mapping the class prefix (e.g. Gdk) to the function name gtk prefix. This allows us to handle Gtk and Gdk objects.
error a logical value indicating whether to throw an error or simply return an object of class try-error if no element is found for the specified name.

Details

Value

Author(s)

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

References

See Also

$.GtkObject

Examples



[Package RGtk version 0.7-0 Index]