This is the mail archive of the
guile-gtk@sources.redhat.com
mailing list for the Guile project.
gtk-toggle-button-toggled problem
- To: guile-gtk <guile-gtk at sourceware dot cygnus dot com>
- Subject: gtk-toggle-button-toggled problem
- From: David Pirotte <david at altosw dot be>
- Date: Sat, 08 Sep 2001 18:35:02 +0200
- Organization: Alto Sotware (http://www.altosw.be)
Hi
in guile-gtk branch of:
gnome-guile-0.21pre2
and
guile-1.7.0
the following signal leads to a 'loop for ever' problem (when the user clicks
the check-button):
...
(let ((chutte-cb (gtk-check-button-new-with-label "chutte ...")))
(gtk-table-attach table0 chutte-cb 2 3 2 3
'(fill) '(0)
0 0)
...
(gtk-signal-connect chutte-cb "toggled"
(lambda ()
(format #t "chutte toggled state: ~S~%"
(gtk-toggle-button-toggled chutte-cb)
;; (gtk-toggle-button-get-active chutte-cb)
)))
...)
david