def do_configure_event(self, event):
result = Gtk.ApplicationWindow.do_configure_event(self, event)
width, height = self.get_size()
self.saved_state.set_uint("width", width)
self.saved_state.set_uint("height", height)
return result
评论列表
文章目录