[9490] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: How can I syncronize two entries?

daemon@ATHENA.MIT.EDU (Scott Stone)
Thu Oct 22 07:33:21 1998

Date: Thu, 22 Oct 1998 20:33:20 +0900 (JST)
From: Scott Stone <sstone@ume.pht.co.jp>
To: gtk-list@redhat.com
In-Reply-To: <7uk91umemg.fsf@olivia.aibon.ping.de>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

On 21 Oct 1998, Sascha Ziemann wrote:

> Hi,
> 
> how can I syncronize two entries?  When I call gtk-entry-set-text for
> entry2 in the the callback for the "changed" signal of entry1 a
> "changed" signal for entry2 is emitted.  This emittes again the
> "changed" signal for entry1.  This goes for a while and in the end
> crashes Gtk.  Does a gtk-entry-set-text exist, that does not emmit a
> "changed" signal.  Or is it possible to stop the emmision of "changed"
> signals for a widget temporary?

sure, how about using gtk_signal_disconnect?

> 
> -- 
> /* In the beginning was the Word: */
> typedef long SCM;
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 

--------------------------------------------------
Scott M. Stone <sstone@pht.com, sstone@turbolinux.com>
               <sstone@pht.co.jp>
Head of TurboLinux Development/Systems Administrator
Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan)
http://www.pht.com		http://armadillo.pht.co.jp
http://www.pht.co.jp	        http://www.turbolinux.com


-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post