This repository has been archived on 2023-11-29. You can view files and clone it, but cannot push or open issues or pull requests.
WebPicDownloader/controller/MainController.py

30 lines
541 B
Python

class MainController:
"""
Controller - MainController
desc...
"""
# Variables
__view = None
# Constructor
def __init__(self) -> None:
pass
def change_frame(self, frame) -> None:
"""
[function for controller]
:frame: -> The frame to be displayed on the screen.
"""
pass
def set_view(self, view) -> None:
"""
[function for view]
:view: -> The view that this controller manage.
"""
self.__view = view