Frédéric wrote: > On mercredi 05 novembre 2008, Frédéric wrote: > > >> Is there a way to set the value of a spinbutton without having >> its 'value-changed' signal emitted? >> > > I mean set the value from the code, not from the GUI... > > You could save the handler id and use handler_block() and handler_unblock() around the code that sets the value to prevent the handler from running. Other handlers connected to the signal will still run though. Otherwise stop_emission should prevent all handlers from being called.
John _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/