Exemplo n.º 1
0
Arquivo: main.py Projeto: techno/gwit
    def close(self, widget):
        window = self.builder.get_object("window1")

        # Save Allocation (window position, size)
        alloc = repr(window.allocation)
        Config.save("DEFAULT", "allocation", alloc)
        
        # hide window
        window.hide_all()
        
        # Stop Icon Refresh
        self.iconstore.stop()