* inhibiting a signal temporarily
@ 2001-05-01 8:45 David Pirotte
0 siblings, 0 replies; only message in thread
From: David Pirotte @ 2001-05-01 8:45 UTC (permalink / raw)
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 <spin-b> "changed"
(let ((val (gtk-spin-button-get-value-as-int <spin-b>)))
(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)
(number->string (+ row 1))
which among other things wants to set the spin-b entry
to (number->string (+ row 1))
well, something like
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-05-01 8:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-01 8:45 inhibiting a signal temporarily David Pirotte
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).