[pygtk] Callbacks
Daniel LaGesse
dlagesse1992 at gmail.com
Wed Mar 11 05:44:10 WST 2009
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 <paskari007 at yahoo.ca> 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 pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>
More information about the pygtk
mailing list