Re: "changed" and GtkEntry set_text



Christian Robottom Reis <kiko async com br> writes:

> In 1.2 two "changed" events were emitted. Owen has said that
> 
>     In general, "changed" signals should be thought of as 
>     "something might have changed" rather than as "something
>     changed".
> 
> However I'm unsure how to interpret that in this specific case. Should I
> rely on this staying this way, or was it an `accidental' change?

It's a deliberate change. In general, gtk+ tries not to emit change
notifications when nothing actually changes. What Owen said should be
interpreted as "there is no *guarantee* that something actually
changed", ie. you _might_ get a changed signal even if nothing
changed. 

Søren



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]