Je comprends pas comment il n'existe pas plus simple pour sauvegader les caracteristiques d'une fenêtre ???
xml_out += '%d' % (gtk.gdk.window_get_toplevels()[2].get_origin()[0])
xml_out += '%d' % (gtk.gdk.window_get_toplevels()[2].get_origin()[1])
xml_out += '%d' % (gtk.gdk.window_get_toplevels()[2].get_geometry()[2])
xml_out += '%d' % (gtk.gdk.window_get_toplevels()[2].get_geometry()[3
Forum Programmation.python PyGTK, taille et position des fenêtres
23
mar.
2005