From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Pirotte To: guile-gtk Subject: inhibiting a signal temporarily Date: Tue, 01 May 2001 08:45:00 -0000 Message-id: <3AEEE8E5.6EAC9DF2@altosw.be> X-SW-Source: 2001-q2/msg00034.html Hi, Is there a "standard" way of inhibiting a signal temporarily ? for example, let's have: spin-button accepting integers (through adjustment) upon which I also have a (gtk-signal-connect "changed" (lambda () (let ((val (gtk-spin-button-get-value-as-int ))) (gtk-clist-select-row clist (- val 1) 0) ))) clist upon which I also have a (gtk-signal-connect clist "select_row" (lambda (row col event) ;; ... (gtk-entry-set-text (number->string (+ row 1)) ))) which among other things wants to set the spin-b entry to (number->string (+ row 1)) well, something like select-row-no-callback set-spin-no-callback of course I can write code to detect wether the caller was the user or my signal code, but before I wanted to check if other people had a better idea thanks, david