I'm currently trying to center my application window, but it seems to be impossible with PyGObject (GTK+ 3). Indeed, with pyGTK, I was doing it this way:
window.set_position(gtk.WIN_POS_CENTER)
So this time I'm trying this:
window.set_position(Gtk.WIN_POST_CENTER)
set_position seems still existing, but the Gtk.WIN_POST_CENTER constant doesn't work:
AttributeError: 'gi.repository.Gtk' object has no attribute 'WIN_POS_CENTER'