[IronPython] Glade - Autoconnect - Error

Hector Miuler Malpica Gallegos miuler at gmail.com
Sat Aug 20 08:31:47 CEST 2005


Hello, when treatment of Autoconnect with glade leaves an error to me.

import sys
sys.LoadAssemblyByName('gtk-sharp')
sys.LoadAssemblyByName('glade-sharp')

import Gtk
import Glade

class MonoBiblioteca:
def __init__(self):
self.prueba()
self.BuildGUI()

def BuildGUI(self):
Gtk.Application.Init()
self.gxml = Glade.XML('biblioteca.glade','winBusqueda',None)
self.gxml.Autoconnect(self)
Gtk.Application.Run()

def Exit(self, args):
sys.exit

def on_winBusqueda_destroy(self):
sys.exit

def prueba(self):
print "Prueba"



Glade.HandlerNotFoundException: No handler on_winBusqueda_destroy found for 
signal destroy
in <0x0033b> SignalConnector:ConnectFunc 
(intptr,intptr,intptr,intptr,intptr,int,intptr)
in <0x00040> (wrapper native-to-managed) SignalConnector:ConnectFunc 
(intptr,intptr,intptr,intptr,intptr,int,intptr)
in (unmanaged) 0xb659cf18
in <0x00004> (wrapper managed-to-native) 
SignalConnector:glade_xml_signal_autoconnect_full (intptr,Glade.XML
/SignalConnector/RawXMLConnectFunc,intptr)
in <0x00056> SignalConnector:Autoconnect ()
in <0x00045> Glade.XML:Autoconnect (object)
in (unmanaged) 0x80e7544
in <0x00004> (wrapper managed-to-native) 
System.Reflection.MonoMethod:InternalInvoke (object,object[])
in <0x0006f> System.Reflection.MonoMethod:Invoke (object,
System.Reflection.BindingFlags,System.Reflection.Binder,object[],
System.Globalization.CultureInfo)




-- 
_\|/_
(O-O)
--oOO-(_)-OOo----------------------------------------
Hector Miuler Malpica Gallegos
Universidad Nacional del Callao - Peru
Escuela de Ingenieria Electronica

Jabber miuler at jabber.org
usuario registrado #308608
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20050820/0f8128dd/attachment.html>


More information about the Ironpython-users mailing list