happyscript 0.0.10__tar.gz → 0.0.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {happyscript-0.0.10 → happyscript-0.0.11}/PKG-INFO +1 -1
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/__init__.py +1 -1
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/panels/panel_scripts2.py +12 -3
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript.egg-info/PKG-INFO +1 -1
- {happyscript-0.0.10 → happyscript-0.0.11}/pyproject.toml +1 -1
- {happyscript-0.0.10 → happyscript-0.0.11}/README.md +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/copy_code.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/charts/__init__.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/charts/chart.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/charts/histogram_chart.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/charts/histogram_series.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/charts/matplotlib_chart.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/charts/panel_charts.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/charts/scatter_chart.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/charts/scatter_series.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/charts/time_chart.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/charts/time_series.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/forms/form_askchoice.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/forms/form_askimage.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/forms/form_main.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/forms/form_ontestfailure.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/forms/form_serials.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/forms/form_stop.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/forms/formsbase.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/imglib.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/panels/panel_log.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/panels/panel_messages.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/panels/panel_tests.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/panels/panelsbase.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/scriptartwork.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/scriptcontrol.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/scriptexceptions.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/scriptgui.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/scriptinfo.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/scriptmanager.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/scriptparams.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/scriptreader.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/scriptrunner.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/testlog/global_log_handler.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/testlog/log_to_text.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/testlog/logtoxml.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript/testlog/printredirect.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript.egg-info/SOURCES.txt +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript.egg-info/dependency_links.txt +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/happyscript.egg-info/top_level.txt +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/increment_version.py +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/publish.bat +0 -0
- {happyscript-0.0.10 → happyscript-0.0.11}/setup.cfg +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
__version__ = "0.0.
|
|
1
|
+
__version__ = "0.0.11"
|
|
2
2
|
from .scriptmanager import ScriptManager
|
|
@@ -8,11 +8,20 @@ class PanelScripts2( PanelScripts_Base):
|
|
|
8
8
|
self.tree_root = self.treeScripts.AddRoot("DUMMY")
|
|
9
9
|
self.load_treeview()
|
|
10
10
|
def load_treeview(self):
|
|
11
|
-
self.treeScripts
|
|
11
|
+
tree = self.treeScripts
|
|
12
|
+
expanded_files = list()
|
|
13
|
+
(child, cookie) = tree.GetFirstChild(self.tree_root)
|
|
14
|
+
while child.IsOk():
|
|
15
|
+
if tree.IsExpanded(child):
|
|
16
|
+
expanded_files.append(tree.GetItemText(child))
|
|
17
|
+
(child, cookie) = tree.GetNextChild(self.tree_root, cookie)
|
|
18
|
+
tree.DeleteChildren(self.tree_root)
|
|
12
19
|
for modname in self._reader.get_file_list():
|
|
13
|
-
child =
|
|
20
|
+
child = tree.AppendItem(self.tree_root, modname)
|
|
14
21
|
for funcname in self._reader.get_func_names(modname):
|
|
15
|
-
|
|
22
|
+
tree.AppendItem(child, funcname)
|
|
23
|
+
if modname in expanded_files:
|
|
24
|
+
tree.Expand(child)
|
|
16
25
|
def OnBtnReload( self, event ):
|
|
17
26
|
if self._script_ctrl.is_busy():
|
|
18
27
|
msg = "A script is still running. Press 'abort' first."
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|