Re: [gtk-list] How can I syncronize two entries?
- From: Havoc Pennington <rhpennin midway uchicago edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] How can I syncronize two entries?
- Date: Thu, 22 Oct 1998 05:00:49 -0500 (CDT)
On 21 Oct 1998, Sascha Ziemann wrote:
>
> 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?
>
I usually end up with a flag like "changing_stuff" and my normal "changed"
callbacks return immediately if true. Ugly but it works.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]