Hello, when treatment of Autoconnect with glade leaves an error to me.<br><br>import sys<br>sys.LoadAssemblyByName('gtk-sharp')<br>sys.LoadAssemblyByName('glade-sharp')<br><br>import Gtk<br>import Glade<br><br>class MonoBiblioteca:
<br> def __init__(self):<br> self.prueba()<br> self.BuildGUI()<br><br> def BuildGUI(self):<br> Gtk.Application.Init()<br> self.gxml = Glade.XML('biblioteca.glade','winBusqueda',None)<br>
self.gxml.Autoconnect(self)<br> Gtk.Application.Run()<br><br> def Exit(self, args):<br> sys.exit<br><br> def on_winBusqueda_destroy(self):<br> sys.exit<br><br> def prueba(self):<br> print "Prueba"
<br><br><br><br>Glade.HandlerNotFoundException: No handler on_winBusqueda_destroy found for signal destroy<br>in <0x0033b> SignalConnector:ConnectFunc (intptr,intptr,intptr,intptr,intptr,int,intptr)<br>in <0x00040> (wrapper native-to-managed) SignalConnector:ConnectFunc (intptr,intptr,intptr,intptr,intptr,int,intptr)
<br>in (unmanaged) 0xb659cf18<br>in <0x00004> (wrapper managed-to-native) SignalConnector:glade_xml_signal_autoconnect_full (intptr,Glade.XML/SignalConnector/RawXMLConnectFunc,intptr)<br>in <0x00056> SignalConnector:Autoconnect ()
<br>in <0x00045> Glade.XML:Autoconnect (object)<br>in (unmanaged) 0x80e7544<br>in <0x00004> (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[])<br>in <0x0006f> System.Reflection.MonoMethod:Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)<br><br><br><br><br>-- <br> _\|/_<br> (O-O)<br>--oOO-(_)-OOo----------------------------------------<br>Hector Miuler Malpica Gallegos
<br>Universidad Nacional del Callao - Peru<br>Escuela de Ingenieria Electronica<br><br>Jabber <a href="mailto:miuler@jabber.org">miuler@jabber.org</a><br>usuario registrado #308608