Sorry for the stupid question...
What is the python equivalent of g_signal_stop_emission_by_name() ?

And to prevent me requiring followup questions, will the following work as a method to ensure my gtk.Entry accepts only numbers?


def onInsertText(widget,text,foo,bar):
        try:
                int(text)
        except ValueError:
                #insert correct name of function here...
                gobject.stop_emission_by_name(widget,'insert_text')
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to