Module Stack
Synopsis
macro to create the ModuleStack window to hold widgets
macro ModuleStack {
func module_register<NEvisible=0> = "module_register";
macro ModuleStackUI <NEvisible=0> {
UIcmdList Modules<NEy=55,NEx=110> {
radioBehavior = 1;};
UIcmdList MainMenu<NEy=110,NEx=110> {
cmdList => {Modules};
};
UIshell mod_shell<NEy=165,NEx=110> {
title = "Module Stack"
visible = 1;
x = 0;
y = 0;
scrollBars = 1;
width = 300;
height = 854;
menu => MainMenu; };
UIpanel mod_panel<NEy=220,NEx=110> {
parent => mod_shell;
};
olink parent<NEy=286,NEx=231> => mod_panel;
};
};Description
ModuleStack is a macro that creates a narrow, root-level window toward the left of the screen. The top of the window has a pull-down menu. Applications with user interfaces can have their widgets automatically register with this ModuleStack window when they are dragged down into the ModuleStack workspace. The application's specified title is added to the ModuleStack's pull-down menu. When the user selects the title from the pull-down menu, its widgets appear in the ModuleStack window.All Data Visualization Kit modules, for example, use the ModuleStack window to display their control widgets.
Example
Almost all modules in the Main library v/modules.v
File
See Also Related Modules