mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:00:38 +00:00
Finished to implement the NSTable/OutlineView sort descriptor support.
More changes are needed to get proper sorting support (e.g. visual feedback). git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29293 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fd57feed5b
commit
239eec74dc
6 changed files with 177 additions and 21 deletions
|
@ -1663,6 +1663,24 @@ Also returns the child index relative to this parent. */
|
|||
return YES;
|
||||
}
|
||||
|
||||
- (void) _didChangeSortDescriptors: (NSArray *)oldSortDescriptors
|
||||
{
|
||||
if ([_delegate
|
||||
respondsToSelector: @selector(outlineView:sortDescriptorsDidChange:)])
|
||||
{
|
||||
[_delegate outlineView: self sortDescriptorsDidChange: oldSortDescriptors];
|
||||
}
|
||||
}
|
||||
|
||||
- (void) _didClickTableColumn: (NSTableColumn *)tc
|
||||
{
|
||||
if ([_delegate
|
||||
respondsToSelector: @selector(outlineView:didClickTableColumn:)])
|
||||
{
|
||||
[_delegate outlineView: self didClickTableColumn: tc];
|
||||
}
|
||||
}
|
||||
|
||||
- (BOOL) _shouldEditTableColumn: (NSTableColumn *)tableColumn
|
||||
row: (int) rowIndex
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue