home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEDEV / DEV.Z / NSSplitView.h < prev    next >
Text File  |  1996-09-09  |  917b  |  34 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. @end
  23.  
  24. @interface NSObject(NSSplitViewDelegate)
  25. - (void)splitView:(NSSplitView *)sender resizeSubviewsWithOldSize:(NSSize)oldSize;
  26. - (void)splitView:(NSSplitView *)sender constrainMinCoordinate:(float *)min maxCoordinate:(float *)max ofSubviewAt:(int)offset;
  27. - (void)splitViewWillResizeSubviews:(NSNotification *)notification;
  28. - (void)splitViewDidResizeSubviews:(NSNotification *)notification;
  29. @end
  30.  
  31. /* Notifications */
  32. APPKIT_EXTERN NSString *NSSplitViewDidResizeSubviewsNotification;
  33. APPKIT_EXTERN NSString *NSSplitViewWillResizeSubviewsNotification;
  34.