mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 00:30:58 +00:00
Additional bindings.
This commit is contained in:
parent
baf72d21a0
commit
dc12bbbc6f
2 changed files with 7 additions and 16 deletions
|
@ -86,6 +86,10 @@
|
|||
|
||||
@end
|
||||
|
||||
// typedefs
|
||||
typedef NSString* NSBindingName;
|
||||
typedef NSString* NSBindingOption;
|
||||
|
||||
// binding values
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_13, GS_API_LATEST)
|
||||
typedef NSString* NSBindingName;
|
||||
|
|
|
@ -50,10 +50,12 @@ NSUInteger __count = 0;
|
|||
[self exposeBinding: NSContentDictionaryBinding];
|
||||
[self exposeBinding: NSIncludedKeysBinding];
|
||||
|
||||
/*
|
||||
[self setKeys: [NSArray arrayWithObjects: NSContentBinding,
|
||||
NSContentObjectBinding,
|
||||
NSContentArrayBinding,
|
||||
nil]
|
||||
triggerChangeNotificationsForDependentKey: @"arrangedObjects"];
|
||||
triggerChangeNotificationsForDependentKey: @"arrangedObjects"]; */
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -91,11 +93,7 @@ NSUInteger __count = 0;
|
|||
{
|
||||
ASSIGNCOPY(_localizedKeyTable, table);
|
||||
}
|
||||
<<<<<<< HEAD
|
||||
|
||||
=======
|
||||
|
||||
>>>>>>> 66d8ddcf5 (Add binding constants)
|
||||
- (NSArray *) includedKeys
|
||||
{
|
||||
return _includedKeys;
|
||||
|
@ -116,10 +114,7 @@ NSUInteger __count = 0;
|
|||
ASSIGNCOPY(_excludedKeys, excludedKeys);
|
||||
}
|
||||
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
- (NSString *) initialKey
|
||||
>>>>>>> 66d8ddcf5 (Add binding constants)
|
||||
{
|
||||
return _initialKey;
|
||||
}
|
||||
|
@ -141,20 +136,12 @@ NSUInteger __count = 0;
|
|||
|
||||
- (NSDictionary *) contentDictionary
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
return nil; // (NSDictionary *)[self content];
|
||||
=======
|
||||
return (NSDictionary *)[self content];
|
||||
>>>>>>> 66d8ddcf5 (Add binding constants)
|
||||
}
|
||||
|
||||
- (void) setContentDictionary: (NSDictionary *)dict
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
// [super setContent: (id)dict];
|
||||
=======
|
||||
[self setContent: (id)dict];
|
||||
>>>>>>> 66d8ddcf5 (Add binding constants)
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue