class MainController:
"""
Controller - MainController
desc...
@author Jérémi Nihart / EndMove
@link https://git.endmove.eu/EndMove/WebPicDownloader
@version 1.0.0
@since 2022-08-30
# Variables
__view = None
# Constructor
def __init__(self) -> None:
pass
# START View methods
def set_view(self, view) -> None:
[function for view]
:view: -> The view that this controller manage.
self.__view = view
# END view methods
# START Controller methods
def change_frame(self, frame) -> None:
[function for controller]
:frame: -> The frame we want to display on the window instead of the current frame.
self.__view.show_frame(frame)
# END Controller methods