createDatabaseTree {RGtkViewers} | R Documentation |
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.
createDatabaseTree(x, callbacks = NULL, children = NULL, ancestors = character(), expands = NULL, itemHandlers = NULL)
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 |
A GtkTree
object.
Duncan Temple Lang <duncan@research.bell-labs.com>
http://www.omegahat.org/RGtk, http://www.omegahat.org/RSDBI http://www.gtk.org