I have a window in my window.ui (created with glade), and I should to add a application property like this:
win = SchoolnotebookWindow(application=self)
But, I can't add application property to window, because window is in my UI file.
You could use win.set_application(self). This can be done after the Gtk.ApplicationWindow is loaded from Glade.