Disabling callbacks



Hello all.

I was wondering if anyone has any ideas about this:

I have a widget that calls a callback, which in turn changes a variable.
Fine.

Going the other way, I change that variable and I want to undate (redraw)
the widget to reflect the new state of the variable, without triggering the
callback.

I read the documentation about signals and blocking them, but it's very
sketchy. Does anyone have an idea about what I need to do?

Any help would be much appreciated!

Thanks, Miranda

/------------------------------------------------------------------------\
| Miranda Hawarden-Ogata             Email: hawarden@irtf.ifa.hawaii.edu |
| NASA IRTF, Institute of Astronomy  Phone: (808) 974-4206               |
| 1175 Manono St., Bldg 393            Fax: (808) 974-4207               |
| Hilo, HI 96720                                                         |
\------------------------------------------------------------------------/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]