mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 21:07:39 +00:00
Added new connectors and implemented keyed coding in split view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25520 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a148bf5304
commit
b22686df4d
7 changed files with 285 additions and 19 deletions
63
Source/NSNibBindingConnector.m
Normal file
63
Source/NSNibBindingConnector.m
Normal file
|
@ -0,0 +1,63 @@
|
|||
/** <title>NSNibAXAttributeConnector</title>
|
||||
|
||||
<abstract>
|
||||
</abstract>
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
|
||||
Author: Gregory John Casamento
|
||||
Date: 2007
|
||||
|
||||
This file is part of the GNUstep GUI Library.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Library General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Library General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Library General Public
|
||||
License along with this library;
|
||||
If not, write to the Free Software Foundation,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#import <GNUstepGUI/GSNibCompatibility.h>
|
||||
#import <Foundation/NSString.h>
|
||||
#import <Foundation/NSDictionary.h>
|
||||
|
||||
@implementation NSNibBindingConnector
|
||||
- (NSString *) binding
|
||||
{
|
||||
return _binding;
|
||||
}
|
||||
|
||||
- (NSString *) keyPath
|
||||
{
|
||||
return _keyPath;
|
||||
}
|
||||
|
||||
- (NSDictionary *) options
|
||||
{
|
||||
return _options;
|
||||
}
|
||||
|
||||
- (void) setBinding: (NSString *)binding
|
||||
{
|
||||
ASSIGN(_binding, binding);
|
||||
}
|
||||
|
||||
- (void) setKeyPath: (NSString *)keyPath
|
||||
{
|
||||
ASSIGN(_keyPath, keyPath);
|
||||
}
|
||||
|
||||
- (void) setOptions: (NSDictionary *)options
|
||||
{
|
||||
ASSIGN(_options, options);
|
||||
}
|
||||
@end
|
Loading…
Add table
Add a link
Reference in a new issue