Why not just modify the callback to ignore the entries? I think that is all you can do.
Daniel On Tue, Mar 10, 2009 at 13:29, Peyman <[email protected]> wrote: > Hello > > Is there a clean way to temporarily cancel callbacks? For example > consider a combobox CB1 with the following callback function > > on_CB1_changed(...): > someVar= the new entry > > now if I manually change the combobox to, for example "Select item", I > don't want the changed signal to be generated since I don't want > someVar to be set to "Select item". > > Cheers > > > Peyman Askari > _______________________________________________ > pygtk mailing list [email protected] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://faq.pygtk.org/ > _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
