ESTO ES SOLO UN BORRADORLo q quiero hacer es poder llamar ventanas, funciones hechas en otras clases desde un evento o signal de boton o cualquier otro control segun sea el casoimport gtk, gtk.gladeclass Gui: def callWindow(): xml=gtk.glade.XML("referencias.glade",'wndArrendatario') wndCalled=xml.get_widget(xml) wndCalled.show_all() def destroyWindow(): """implementar"""class Arrendatario: idArrend="" nombre="" apellidos="" domicilio="" telfMovil="" def registrar(): """implementar""" def preRegistar(): """implementar""" def callWindow(): """implementar""" def destroyWindow(): """implementar"""class Registro: idArrend="" fechaIngreso="" tiempoContratado="" fechaSalida="" def registrar(): """implementar""" def buscar(): """implementar""" def callWindow(): """implementar""" def destroyWindow(): """implementar"""childWindow=Gui()xmlArrendControl=gtk.glade.XML("referencias/referencias.glade","wndArrendControl")xmlArrendControl.signal_connect('on_btnSalir_clicked',childWindow.callWindow)"""quiero llamar otra ventana. es necesario construirla qcomo hize en la funcion de la clase Arrendatario y luego llamarala aqui?"""wndArrendControl=xmlArrendControl.get_widget("wndArrendControl")wndArrendControl.show_all()gtk.main()