I have a variable in my program named user_active which is by default True
when I want to toggle avoiding the signal I do:
user_active = False
operation that causes the signal
user_active = True
then in the callback
on_button_toggled()
if not user_active: return
Cheers,
Giuseppe.
That is a simple solution that solved my problem. Thanks Giuseppe.
Ryan
On Sat, Apr 23, 2011 at 6:17 AM, Giuseppe Penone gius...@gmail.com wrote:
I have a variable in my program named user_active which is by default True
when I want to toggle avoiding the signal I do:
user_active = False