GTK - PYTHON (Gtk.Window)
If you want to set your windows doesn’t maximize , you can do it with unmaximize() function. However it doesn’t work properly.
window = Gtk.Window()
window.unmaximize()
The second solution is disabling it via resizable function. It works proberly on Ubuntu.
window = Gtk.Window()
window.resizable(False)