log_view
log_view
¶
This module contains the log window of the application.
LogViewer
¶
Bases: CTkToplevel
Window application to display the content of the log.
Source code in log_view.py
__init__(parent, logs=None)
¶
Initialize the log window. :param parent: The parent window. :param logs: The log messages to display.
Source code in log_view.py
__make_layout()
¶
Create the layout of the main window.
:return: The layout of the main window.
Source code in log_view.py
set_logs_updated(updated)
¶
Set or reset the reload indicator in the window. :param updated: True if the logs are updated, False otherwise.
Source code in log_view.py
set_ok_button_callback(callback)
¶
Set the callback of the ok button. :param callback: The callback of the ok button.
set_reload_button_callback(callback)
¶
Set the callback of the reload button. :param callback: The callback of the reload button.
update_logs(logs)
¶
Update the log messages on the GUI. :param logs: The log messages to display.