AlphaHooks.widgets.console.display package

Submodules

AlphaHooks.widgets.console.display.python module

class AlphaHooks.widgets.console.display.python.PythonDisplay(ui, config, parent=None, **kwargs)[source]

Bases: PyQt5.QtCore.QObject

change_running_state(state)[source]
prompt(multi_line)[source]

Checks and displays the current prompt in console_prompt.

Parameters:multi_line – Can be True or False for the defined prompts
send_console_input()[source]

Push the input to the interpreter where it is run.

send_console_log(string)[source]

Insert the output into console_log and automatically scroll the scrollbar.

Parameters:string – output from the interpreter
send_console_source()[source]

Check if the interpreter is running. If it isn’t take the source from the editor and push it to the interpreter.

stop_running()[source]

Module contents