Background: $+ html.Snippet(GetVar(default_link), "value=Colour/White [F2]", "onclick=swapbg", )$- $+ html.Snippet(GetVar(default_link), "value=Graduated [F4]", "onclick=grad -i", )$- $+ html.Snippet(GetVar(default_link), "value=Graduated Colours", "onclick=grad", )$- %GUI Width%: $+ html.Snippet(GetVar(default_link), "value=Default", "onclick=panel spy.GetParam('gui.skin.name')", )$- $+ html.Snippet(GetVar(default_link), "value=Narrow", "onclick=panel 0.20", )$- $+ html.Snippet(GetVar(default_link), "value=Wide", "onclick=panel 0.40", )$- Value (e.g. 520, or 0.3) $+ html.Snippet ( "gui/snippets/input-text", "name=SKIN_WIDTH", "value=''", "checked=spy.GetParam(user.auto_save_view, 'False')", "onleave=panel html.GetValue(~name~)" ) $- GUI Left/Right $+ html.Snippet(GetVar(default_link), "value=%htmlpanelswap%", "onclick=htmlpanelswap", )$- GUI Links $+ html.Snippet(GetVar(default_link), "value=HTML Links", "onclick=spy.SetParam('gui.skin.default_link',gui/snippets/gui-link-html)>>panel", )$- $+ html.Snippet(GetVar(default_link), "value=Buttons", "onclick=spy.SetParam('gui.skin.default_link',gui/snippets/gui-link-button)>>panel", )$- %Tooltips%: Show tooltips when hovering $+ html.Snippet("gui/snippets/input-checkbox", "name=SHOW_TOOLTIPS", "checked=CheckState(htmlttvis)", "oncheck=spy.SetParam(user.show_tooltips,1)>>html.tooltips true", "onuncheck=spy.SetParam(user.show_tooltips,0)>>html.tooltips false", "target=Show tooltips when hovering over a control", ) $- %Legend%: Show the legend of atom types $+ html.Snippet("gui/snippets/input-checkbox", "name=LEGEND", "checked=spy.GetParam(user.show_legend)", "oncheck=spy.SetParam(user.show_tooltips,1)>>html.tooltips true", "onclick=spy.SetParam(user.show_legend,html.GetState(~name~))>>legend spy.GetParam(user.show_legend)", "target=Show or hide the atom type legend", ) $- %Info Bar%: Show bar with structure info $+ html.Snippet("gui/snippets/input-checkbox", "name=SHOW_INFO", "checked=not(strcmp(spy.GetParam(user.show_info),0))", "oncheck=spy.SetParam(user.show_info,1)>>showwindow info true", "onuncheck=spy.SetParam(user.show_info,0)>>showwindow info false", ) $- %Reset Alerts%: $+ html.Snippet(GetVar(default_link), "value=Reset All Alerts", "onclick=spy.SwitchAllAlertsOn()", )$- %Console Lines%: Number of lines in the console %Auto MORE%: $+ html.Snippet("gui/snippets/input-text", "name=user_ins", "width=100%", "value=spy.GetParam(user.auto_insert_user_ins)", "onchange=spy.SetParam(user.auto_insert_user_ins, html.GetValue(~name~))") $- %Save View%: Save the current view when exiting a structure $+ html.Snippet("gui/snippets/input-checkbox", "name=AUTO_SAVE_VIEW", "checked=spy.GetParam(user.auto_save_view, 'False')", "onclick=spy.SetParam('user.auto_save_view', html.GetState(~name~))") $- Start Olex2 in: Which tab Olex2 will open after restart %Load last%: Load previous structure in Olex2 on startup $+ html.Snippet("gui/snippets/input-checkbox", "name=REMEMBER_LAST", "checked=spy.GetParam(user.remember_last, 'False')", "onclick=spy.SetParam('user.remember_last', html.GetState(~name~))") $- %Solo Mode%: Only one top-level tool tab open at a time $+ html.Snippet("gui/snippets/input-checkbox", "name=SOLO_MODE", "checked=not(strcmp(spy.GetParam(user.solo),False))", "oncheck=spy.SetParam(user.solo,True)", "onuncheck=spy.SetParam(user.solo,False)", ) $- %Modules Update%: Display a notification dialogue when module updates available $+ html.Snippet("gui/snippets/input-checkbox", "name=modules_notification", "checked=not(spy.GetParam('user.modules.manual_update', 'false'))", "onclick=spy.SetParam('user.modules.manual_update', not(html.GetState('~name~')))") $- %Unit Cell Style%: $+ html.Snippet(GetVar(default_link), "value=Cylinder", "onclick=cell.Drawstyle cone", )$- $+ html.Snippet(GetVar(default_link), "value=Line", "onclick=cell.Drawstyle line", )$- %Width%: $+ html.Snippet("gui/snippets/input-combo", "name=unitcell_width", "items='1;2;3;4;5'", "value=cell.Thickness()", "onchange=cell.Thickness(html.GetValue('~name~'))") $- %User Database%: $+ html.Snippet(GetVar(default_link), "value=Location", "onclick=spy.EditParams(user.report)", )$- $+ html.Snippet(GetVar(default_link), "value=Manage", "onclick=spy.gui.db.Manage()", )$- %Network Operations%: Enable/Disable network operations including CheckCif, CSD deposition, module installation, updates, and news banner. This does not control Olex2 update. $+ html.Snippet("gui/snippets/input-checkbox", "name=settings_network", "checked=spy.GetParam('olex2.network', 'True')", "onclick=spy.SetParam('olex2.network', html.GetState('~name~'))>>html.Update") $- %Debug Mode%: Start Olex2 in Debug Mode (Restart required) $+ html.Snippet("gui/snippets/input-checkbox", "name=settings_debug", "checked=spy.GetParam('olex2.debug', 'True')", "onclick=spy.SetParam('olex2.debug', html.GetState('~name~'))>>html.Update") $- %PATH%: $+ html.Snippet("gui/snippets/input-text", "name=path_extra", "width=100%", "value=app.OptValue('path', '')", "onchange=app.SetOption('path', html.GetValue('~name~'))") $-