Для предупреждений Gtk.py вы можете изменить /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py (строка 391)
из:
class Window(Gtk.Window):
def __init__(self, type=Gtk.WindowType.TOPLEVEL, **kwds):
Gtk.Window.__init__(self, type=type, **kwds)
:
class Window(Gtk.Window):
def __init__(self, type=Gtk.WindowType.TOPLEVEL, **kwds):
# type is a construct-only property; if it is already set (e. g. by
# GtkBuilder), do not try to set it again and just ignore it
try:
self.get_property('type')
Gtk.Window.__init__(self, **kwds)
except TypeError:
Gtk.Window.__init__(self, type=type, **kwds)