From: David Pirotte <david@altosw.be>
To: guile-gtk <guile-gtk@sourceware.cygnus.com>
Subject: inhibiting a signal temporarily
Date: Tue, 01 May 2001 08:45:00 -0000 [thread overview]
Message-ID: <3AEEE8E5.6EAC9DF2@altosw.be> (raw)
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 <spin-b> "changed"
(lambda ()
(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)
;; ...
(gtk-entry-set-text <spin-b>
(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
reply other threads:[~2001-05-01 8:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3AEEE8E5.6EAC9DF2@altosw.be \
--to=david@altosw.be \
--cc=guile-gtk@sourceware.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).