MAP
|
$+
html.Snippet("gui/snippets/input-combo",
"name=SET_SNUM_MAP_TYPE_TOOLBOX",
"items=Diff<-diff;Fcalc<-fcalc;2Fo-Fc<-tomc;Fobs<-fobs;Deformation<-fcfmc;PDF;Mask<-mask",
"value=spy.GetParam('snum.map.type')",
"onchange=spy.SetParam('snum.map.type',html.GetValue('~name~'))>>spy.gui.maps.MapView('off')>>html.Update()",
"onchangealways=True",
)
$-
|
$+
html.Snippet(GetVar(default_link),
"value=Electron Density Map",
"value='\$spy.gui.maps.getActionString()'",
"onclick=spy.gui.maps.MapView()",
)$-
$+
html.Snippet(GetVar(default_link),
"value=Map Settings",
"onclick=spy.gui.SwitchTool(h2-tools-maps)>>spy.gui.tools.flash_gui_control(h2-Maps)>>spy.gui.SwitchTool(h3-electron-density)",
)$-