11 lines
306 B
Python
11 lines
306 B
Python
import tkinter as tk
|
|
from Vista import VistaChat
|
|
from Controlador import ControladorChat
|
|
|
|
if __name__ == "__main__":
|
|
root = tk.Tk()
|
|
controlador = ControladorChat(None)
|
|
vista = VistaChat(root, controlador)
|
|
controlador.vista = vista # Se establece la referencia circular
|
|
root.mainloop()
|