30 lines
541 B
Python
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 |