createDatabaseTree {RGtkViewers}R Documentation

General function for creating Gtk trees from DBMS schema

Description

This is a utility function that is used to centralize computations to construct a Gtk tree for representing different parts of the contents of a DBMS. It relies on being parameterized with functions that handle computing the elements for the given level, processing the resulting tree item nodes and also callbacks for when the object is selected or not.

This is not used in the more efficient ``lazy'' database tree which computes the sub-trees dynamically on demand.

Usage

createDatabaseTree(x, callbacks = NULL, children = NULL, ancestors = character(), expands = NULL, itemHandlers = NULL)

Arguments

x a character vector giving the nodes to be created for this level
callbacks currently ignored!. A list of callbacks to register with the nodes.
children
ancestors
expands
itemHandlers

Value

A GtkTree object.

Author(s)

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

References

http://www.omegahat.org/RGtk, http://www.omegahat.org/RSDBI http://www.gtk.org

See Also

databaseView

Examples



[Package RGtkViewers version 0.7 Index]