mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:20:38 +00:00
Add methods to theme and to NSTableView to get the view from the delegate, this is a partial commit to save my place here... will follow up shortly
This commit is contained in:
parent
0be95eba5b
commit
ebdbe0930f
4 changed files with 153 additions and 5 deletions
|
@ -39,6 +39,7 @@
|
|||
@class NSMutableIndexSet;
|
||||
@class NSTableColumn;
|
||||
@class NSTableHeaderView;
|
||||
@class NSTableRowView;
|
||||
@class NSText;
|
||||
@class NSImage;
|
||||
@class NSURL;
|
||||
|
@ -508,6 +509,24 @@ dataCellForTableColumn: (NSTableColumn *)aTableColumn
|
|||
row: (NSInteger)row
|
||||
mouseLocation: (NSPoint)mouse;
|
||||
#endif
|
||||
|
||||
// NSTableCellView based table methods...
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_7, GS_API_LATEST)
|
||||
- (NSView *) tableView: (NSTableView *)tableView
|
||||
viewForTableColumn: (NSTableColumn *)aTableColumn
|
||||
row: (NSInteger)rowIndex;
|
||||
|
||||
- (NSTableRowView *) tableView: (NSTableView *)tableView
|
||||
rowViewForRow: (NSInteger)rowIndex;
|
||||
|
||||
- (void) tableView: (NSTableView *)tableView
|
||||
didAddRowView: (NSTableRowView *)rowView
|
||||
forRow: (NSInteger)rowIndex;
|
||||
|
||||
- (void) tableView: (NSTableView *)tableView
|
||||
didRemoveRowView: (NSTableRowView *)rowView
|
||||
forRow: (NSInteger)rowIndex;
|
||||
#endif
|
||||
@end
|
||||
|
||||
#endif /* _GNUstep_H_NSTableView */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue