class documentation
The tree view for the tools and commands.
| Method | __init__ |
Initialize the tree view. |
| Method | on |
Mount the tree view. |
| Method | on |
Show the tools tree. |
| Method | on |
Show the tool description when a node is highlighted. |
| Method | print |
Print the logs of the selected node to the log widget. The output depends on the value of self.allLogs. |
| Method | stop |
Stop the autorun worker if it is running and the node is different from the previous autorun node. |
| Class Variable | script |
Injected ScriptManager instance. |
| Instance Variable | all |
Whether all logs should be shown. |
| Instance Variable | auto |
Whether the tree should auto expand. Inherited from TextualTree. |
| Instance Variable | auto |
The name of the autorun script. |
| Instance Variable | auto |
The autorun worker. |
| Instance Variable | logs |
The logs for the scripts. |
| Instance Variable | nodes |
The nodes for the scripts. |
| Instance Variable | parent |
The parent container. |
| Method | _execute |
Executes the given script context. |
| Method | _show |
Show the script's description when a node is highlighted. |
| Instance Variable | _app |
The application. |
Show the tool description when a node is highlighted.
| Parameters | |
node:TextualTree.NodeHighlighted | The highlighted node. |
Print the logs of the selected node to the log widget. The output depends on the value of self.allLogs.
Stop the autorun worker if it is running and the node is different from the previous autorun node.
| Parameters | |
name:str | None | The name of the script to stop. If None, the current autorun script is stopped, independent of its name. |
def _executeScript(self, name:
str, autoRun: bool | None = False, argument: str | None = '') -> bool:
¶
Executes the given script context.
| Parameters | |
name:str | The name of the script. |
autobool | None | Undocumented |
argument:str | None | Undocumented |
| Returns | |
bool | Undocumented |