mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 19:50:38 +00:00
Add logic to get the column / row for a given view
This commit is contained in:
parent
182427bf97
commit
8d9cb6f933
4 changed files with 100 additions and 32 deletions
|
@ -44,6 +44,7 @@
|
|||
@class NSText;
|
||||
@class NSImage;
|
||||
@class NSURL;
|
||||
@class NSNib;
|
||||
|
||||
typedef enum _NSTableViewDropOperation {
|
||||
NSTableViewDropOn,
|
||||
|
@ -191,6 +192,8 @@ APPKIT_EXPORT_CLASS
|
|||
/* Supporting ivars for view based tables */
|
||||
BOOL _viewBased;
|
||||
NSMapTable *_renderedViewPaths;
|
||||
NSMapTable *_pathsToViews;
|
||||
NSMutableDictionary *_registeredNibs;
|
||||
NSMutableDictionary *_registeredViews;
|
||||
}
|
||||
|
||||
|
@ -401,6 +404,12 @@ APPKIT_EXPORT_CLASS
|
|||
- (NSView *) makeViewWithIdentifier: (NSUserInterfaceItemIdentifier)identifier owner:(id)owner;
|
||||
#endif
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_8, GS_API_LATEST)
|
||||
- (void) registerNib: (NSNib *)nib
|
||||
forIdentifier: (NSUserInterfaceItemIdentifier)identifier;
|
||||
- (NSDictionary *) registeredNibsByIdentifier;
|
||||
#endif
|
||||
|
||||
@end /* interface of NSTableView */
|
||||
|
||||
@interface NSTableView (GNUPrivate)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue