MVC with Python3 and Gtk3
Is there any way to use MVC pattern with Python3 and Gtk3? I found a library called pygtkmvc , but it's based on pygtk , that is, gtk2 . MVC is a pattern, you don't need a library in order to use it. It would go something like this contrived example: import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk, GObject class Model(object): @property def greetee(self): return 'World' class Controller(object): def __init__(self, model, view): self._model = model self._view = view self._view.connect('button-clicked', self._on_button_clicked) self._view.connect('destroy', Gtk.main_quit