mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 14:41:00 +00:00
Merged changes from gnustep_testplant_branch branch and cleaned them up
a bit. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35417 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
58fa0b0126
commit
ac6909e871
12 changed files with 209 additions and 40 deletions
|
@ -200,7 +200,13 @@ APPKIT_EXPORT NSString *NSControlTextDidChangeNotification;
|
|||
//
|
||||
// Methods Implemented by the Delegate
|
||||
//
|
||||
@interface NSObject (NSControlDelegate)
|
||||
@protocol NSControlTextEditingDelegate <NSObject>
|
||||
#ifdef __OBJC2__
|
||||
@optional
|
||||
#else
|
||||
@end
|
||||
@interface NSObject (NSControlTextEditingDelegate)
|
||||
#endif
|
||||
- (BOOL) control: (NSControl *)control isValidObject:(id)object;
|
||||
|
||||
- (BOOL) control: (NSControl *)control
|
||||
|
@ -209,12 +215,6 @@ APPKIT_EXPORT NSString *NSControlTextDidChangeNotification;
|
|||
- (BOOL) control: (NSControl *)control
|
||||
textShouldEndEditing: (NSText *)fieldEditor;
|
||||
|
||||
- (void) controlTextDidBeginEditing: (NSNotification *)aNotification;
|
||||
|
||||
- (void) controlTextDidEndEditing: (NSNotification *)aNotification;
|
||||
|
||||
- (void) controlTextDidChange: (NSNotification *)aNotification;
|
||||
|
||||
- (BOOL) control: (NSControl *)control
|
||||
didFailToFormatString: (NSString *)string
|
||||
errorDescription: (NSString *)error;
|
||||
|
@ -237,5 +237,10 @@ APPKIT_EXPORT NSString *NSControlTextDidChangeNotification;
|
|||
|
||||
@end
|
||||
|
||||
@interface NSObject (NSControlDelegate)
|
||||
- (void) controlTextDidBeginEditing: (NSNotification *)aNotification;
|
||||
- (void) controlTextDidEndEditing: (NSNotification *)aNotification;
|
||||
- (void) controlTextDidChange: (NSNotification *)aNotification;
|
||||
@end
|
||||
|
||||
#endif // _GNUstep_H_NSControl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue