[Glade-users] insert_text

Arthur Shats ashats at hotmail.com
Fri Sep 24 10:01:41 EDT 2010


I added _insert_text handler in via Glade-2. Generated Python code via GladeX and see the handler in the code:
def on_myField_insert_text(widget, data, wtree) :
   print "in insert_text"
   pass
 
But when I execute and start typing in the field, I don't see my print statement and instead see this trace:
TypeError: <lambda>() takes at most 2 arguments (4 given)
 
Any idea what this all mean and why _insert_text doesn't seem to be getting called?
Thanks. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20100924/46b35ddd/attachment.html 


More information about the Glade-users mailing list