|
Scope
|
$+
html.Snippet("gui/snippets/input-combo",
"name=AC_SCRIPTS_FILTER",
"manage=False",
"value=spy.GetParam(ac.classes.filter)",
"items=ALL;ac7;GetVar(current_ac_flavour)",
"onchange=spy.SetParam(ac.classes.filter, html.GetValue(~name~))>>html.update()",
)
$-
|
Script
|
$+
html.Snippet("gui/snippets/input-combo",
"name=AC_SCRIPTS",
"manage=False",
"value=GetVar(active_custom_function_AC)",
"items=spy.gui.tools.get_custom_scripts_combo(AC7)",
"manage=False",
"onchange=spy.gui.tools.set_custom_gui(html.GetValue(~name~), AC7)>>html.update",
)
$-
|
$+
html.Snippet("gui/snippets/input-button",
"name=EDIT_SCRIPT",
"bgcolor=GetVar(gui.action_colour)",
"fgcolor=#ffffff",
"value=Edit",
"height=GetVar('HtmlComboHeight')",
"width=100%",
"flat=True",
"onclick=spy.ac.edit_script_settings(html.GetValue(AC_CLASS_PHIL))",
)
$-
|
$+
html.Snippet("gui/snippets/input-button",
"name=RUN_SCRIPT",
"bgcolor=GetVar(gui.action_colour)",
"fgcolor=#ffffff",
"value=Run",
"height=GetVar('HtmlComboHeight')",
"width=100%",
"flat=True",
"onclick=spy.gui.tools.run_custom_script(html.GetValue(AC_SCRIPTS))",
)
$-
|
|