for some function packages (or addons, like SVAR) it would be useful if
more than one function could be integrated more tightly for GUI usage.
Here's a concrete suggestion that perhaps wouldn't be so difficult to
implement. I'm thinking about an analogue of the current bundle-plot
- add a new "bundle-action" element to the spec file of a function
package which points to another public function of the package
- just like bundle-plot, the corresponding bundle-action function must
take an integer argument with appropriate labels, corresponding to the
menu entries that are created; and of course also takes the bundle
(pointer) as another argument
- Depending on the input value of that integer argument, the designated
bundle-action function would call other functions of the package as
appropriate: in the GUI such a call should lead to a new window being
opened for inputting its argument values, (almost) as if that other
function had been called right at the beginning. The only difference
would be the bundle that presumably would always be implicit in the
call; that could perhaps be omitted from this call window, or could be
greyed out or whatever.
I hope that was a clear explanation of what I have in mind.
Show replies by date