Update of bug #42230 (project gnustep):
Status: None => Confirmed
Assigned to: None => FredKiefer
_______________________________________________________
Follow-up Comment #2:
German is correct, the best way here is to use this NSMatrix method. Only then
will you get the correct behaviour when you switch your matrix to radio mode.
For your specific problem it would be sufficient if either NSActionCell or
NSButtonCell would override the method setState: with the usual block of code
added:
if (_control_view)
{
if ([_control_view isKindOfClass: [NSControl class]])
{
[(NSControl*)_control_view updateCell: self];
}
}
That way the control, in this case the matrix, would redisplay the changed
button. But this hasn't been documented by Apple and would not help with the
radio behaviour. I am almost sure that the old Next code could achieve this
behaviour without this special method, but I haven't any clue on how to do
this.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42230>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep