home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextLibrary / Frameworks / AppKit.framework / Versions / B / Headers / NSSplitView.h < prev    next >
Encoding:
Text File  |  1996-12-20  |  1.1 KB  |  38 lines

  1. /*
  2.     NSSplitView.h
  3.     Application Kit
  4.     Copyright (c) 1994-1996, NeXT Software, Inc.
  5.     All rights reserved.
  6. */
  7.  
  8. #import <AppKit/NSView.h>
  9. #import <AppKit/AppKitDefines.h>
  10.  
  11. @interface NSSplitView : NSView
  12.  {
  13.     id    _delegate;
  14. }
  15.  
  16. - (void)setDelegate:(id)anObject;
  17. - (id)delegate;
  18. - (void)adjustSubviews;
  19. - (float)dividerThickness;
  20. - (void)drawDividerInRect:(NSRect)aRect;
  21.  
  22. #if !defined(STRICT_OPENSTEP) && !defined(STRICT_40) && !defined(STRICT_41)
  23. - (void)setVertical:(BOOL)flag;    /* Vertical splitview has a vertical split bar */ 
  24. - (BOOL)isVertical;
  25. #endif
  26.  
  27. @end
  28.  
  29. @interface NSObject(NSSplitViewDelegate)
  30. - (void)splitView:(NSSplitView *)sender resizeSubviewsWithOldSize:(NSSize)oldSize;
  31. - (void)splitView:(NSSplitView *)sender constrainMinCoordinate:(float *)min maxCoordinate:(float *)max ofSubviewAt:(int)offset;
  32. - (void)splitViewWillResizeSubviews:(NSNotification *)notification;
  33. - (void)splitViewDidResizeSubviews:(NSNotification *)notification;
  34. @end
  35.  
  36. /* Notifications */
  37. APPKIT_EXTERN NSString *NSSplitViewDidResizeSubviewsNotification;
  38. APPKIT_EXTERN NSString *NSSplitViewWillResizeSubviewsNotification;
  39.