gui.py 381B

123456789101112131415161718
  1. # coding: utf-8
  2. from logging import Logger
  3. from tkinter import Tk
  4. from synergine2.config import Config
  5. from synergine2.log import get_logger
  6. class Gui(object):
  7. def __init__(
  8. self,
  9. config: Config,
  10. master: Tk,
  11. ) -> None:
  12. self._config = config
  13. self._logger = get_logger(self.__class__.__name__, config)
  14. self._master = master