colorSchemesView {RGtkViewers}R Documentation

GUI for examining (GGobi) color schemes

Description

This is a GUI for examining a collection of (GGobi) color schemes. It presents the schemes hierarchically by type (divergent, sequential, qualitative, etc.), and within type by name, and within name it displays colors by name. When one selects a color scheme, it is rendered

Usage

colorSchemesView(schemes, schemeCallback = NULL)

Arguments

schemes a list of color schemes to display.
schemeCallback a function to be registered with the GtkTreeItem for the select event/signal. This is expected to "display" the scheme. It is called with a list as the first argument and the GtkTreeItem as the second argument. The list contains 2 elements: the ColorScheme object, and the name of the scheme.

Details

This uses the gtkDev package to create an embedded graphics device within a Gtk GUI.

Value

A list containing the GtkWindow object

Author(s)

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

References

http://www.omegahat.org/RGtk, http://www.ggobi.org http://www.ggobi.org/data/colorschemes.xml http://www.gtk.org

See Also

colorSchemesTree colorSchemeTree

Examples

## Not run: 
 require(Rggobi)
 schemes <- readXMLColorSchemes("http://www.ggobi.org/data/colorschemes.xml")
 colorSchemesView(schemes)
## End(Not run)

[Package RGtkViewers version 0.7 Index]