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/HomeController.py

26 lines
508 B
Python
Raw Normal View History

from controller.MainController import MainController
class HomeController:
"""
Controller - HomeController
desc...
"""
# Variables
main_controller = None
view = None
# Constructor
def __init__(self, controller: MainController) -> None:
self.main_controller = controller
def set_view(self, view) -> None:
"""
[function for view]
:view: -> The view that this controller manage.
"""
self.view = view