[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bindings only working in one direction
From: |
Fred Kiefer |
Subject: |
Re: Bindings only working in one direction |
Date: |
Tue, 23 Jun 2009 10:06:15 +0200 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20081227) |
Andy Balholm wrote:
> The bindings in my Company Info window are supposed to be read-write,
> but they can only read the data from the model. Changes to the text in
> the fields do not change the model. I tried taking the bindings out of
> the NIB and binding the fields programmatically instead, and it didn't
> make any difference. Once again, it works fine under Cocoa, but not
> under GNUstep.
>
Support for key value binding is still very limited in GNUstep. Most
likely we are just missing a call to our internal method
reverseSetValueFor: here. We are calling this method from [NSControl
sendAction:to:] and this only gets called when you leave the text fields
with the return key. In that case the values seem to get properly
stored. What seems to be missing is a similar call when the field is
changed by any other way.
Does anybody know, when we should send the action for a text field?
Perhaps we have to send that regardless of the way the field gets changed?
Fred
- Segmentation fault while loading Cocoa NIB, Andy Balholm, 2009/06/18
- Fwd: Segmentation fault while loading Cocoa NIB, Andy Balholm, 2009/06/18
- Re: Fwd: Segmentation fault while loading Cocoa NIB, Fred Kiefer, 2009/06/18
- Re: Segmentation fault while loading Cocoa NIB, Andy Balholm, 2009/06/18
- Re: Segmentation fault while loading Cocoa NIB, Fred Kiefer, 2009/06/19
- Re: Segmentation fault while loading Cocoa NIB, Fred Kiefer, 2009/06/21
- Re: Segmentation fault while loading Cocoa NIB, Fred Kiefer, 2009/06/21
- Bindings only working in one direction, Andy Balholm, 2009/06/22
- Re: Bindings only working in one direction,
Fred Kiefer <=
- Re: Bindings only working in one direction, Andy Balholm, 2009/06/23
- Re: Bindings only working in one direction, Fred Kiefer, 2009/06/25