home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2 / Openstep-4.2-Intel-Developer.iso / NextLibrary / Frameworks / AppKit.framework / Versions / B / Headers / NSSplitView.h < prev    next >
Text File  |  1996-12-20  |  1KB  |  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.     id    _delegate;
  13. }
  14.  
  15. - (void)setDelegate:(id)anObject;
  16. - (id)delegate;
  17. - (void)adjustSubviews;
  18. - (float)dividerThickness;
  19. - (void)drawDividerInRect:(NSRect)aRect;
  20.  
  21. #if !defined(STRICT_OPENSTEP) && !defined(STRICT_40) && !defined(STRICT_41)
  22. - (void)setVertical:(BOOL)flag;    /* Vertical splitview has a vertical split bar */ 
  23. - (BOOL)isVertical;
  24. #endif
  25.  
  26. @end
  27.  
  28. @interface NSObject(NSSplitViewDelegate)
  29. - (void)splitView:(NSSplitView *)sender resizeSubviewsWithOldSize:(NSSize)oldSize;
  30. - (void)splitView:(NSSplitView *)sender constrainMinCoordinate:(float *)min maxCoordinate:(float *)max ofSubviewAt:(int)offset;
  31. - (void)splitViewWillResizeSubviews:(NSNotification *)notification;
  32. - (void)splitViewDidResizeSubviews:(NSNotification *)notification;
  33. @end
  34.  
  35. /* Notifications */
  36. APPKIT_EXTERN NSString *NSSplitViewDidResizeSubviewsNotification;
  37. APPKIT_EXTERN NSString *NSSplitViewWillResizeSubviewsNotification;
  38.