mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 02:30:37 +00:00
Add code to handle Title property on NSTableColumn, add code to NSTableView to set the table view to _viewBased if it responds to tableView:viewForTableColumn:row:
This commit is contained in:
parent
8895bd0335
commit
e55babb04e
3 changed files with 22 additions and 1 deletions
|
@ -656,6 +656,16 @@ to YES. */
|
|||
return _prototypeCellViews;
|
||||
}
|
||||
|
||||
- (void) setTitle: (NSString *)title
|
||||
{
|
||||
[_headerCell setStringValue: title];
|
||||
}
|
||||
|
||||
- (NSString *) title
|
||||
{
|
||||
return [_headerCell stringValue];
|
||||
}
|
||||
|
||||
- (void) setValue: (id)anObject forKey: (NSString*)aKey
|
||||
{
|
||||
if ([aKey isEqual: NSValueBinding])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue