Register( cat, name, func )
cat
string: which category to add the command to.
name
typically the text of the menu item
func
a function, typically with no args (some categories may require some args).
Adds a command to a category. It should become available immediately.
Names( cat )
cat
a category name
Returns a list of all the names in a category.
CallByName( cat, name, ... )
cat
the name of a category
name
the name of a command in the category
...
positional and keyword args for the command func
Calls the function associated with cat, name.
category: Histogram
func should take one argument: a qubtree.Node representing the histogram.
category: Select
category: Reports
This is actually a family of categories, one for each type of Results. e.g. "MIL Reports", "SKM Reports", "MSearch Reports".
category: MultiResults
category: SelectColor
category: CriteriaAction