bug-gnustep
[Top][All Lists]
Advanced

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

[bug #4635] NSButtonCell: value is title instead of state


From: nobody
Subject: [bug #4635] NSButtonCell: value is title instead of state
Date: Tue, 05 Aug 2003 12:28:08 -0400
User-agent: Opera/7.11 (Linux 2.4.20 i686; U) [en]

=================== BUG #4635: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4635&group_id=99

Submitted by: dlatt                   Project: GNUstep                      
Submitted on: Tue 08/05/03 at 18:28
Category:  Gui/AppKit                 Severity:  5 - Major                  
Bug Group:  Bug                       Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  NSButtonCell: value is title instead of state

Original Submission:  The docs mention that for some subclasses of NSCell, such 
as NSButtonCell, the object's value is its state.  This is needed for 
EOControlAssociation to be able to set the state of a switch button (checked or 
unchecked) according to some database value (it sets the button's value via 
setObjectValue:).
Right now, changing the value results in setting the switch button's label (or 
title).
Something like this is already mentioned in the source of
NSButtonCell.m:
// FIXME: The spec says that the stringValue and setStringValue methods should 
// also be redefined. But this does not fit to the way we uses this for the 
title.



No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4635&group_id=99

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]