home *** CD-ROM | disk | FTP | other *** search
/ Nebula / nebula.bin / SourceCode / MiniExamples / BananaSplit / BananaSplit.nib (.txt) < prev    next >
NeXT TypedStream Data  |  1991-05-22  |  9KB  |  140 lines

  1. typedstream
  2. StreamTable
  3.     HashTable
  4. Object
  5. [20c]
  6. typedstream
  7. [667c]
  8. typedstream
  9.     HashTable
  10. Object
  11. FirstResponder
  12. HeaderClass
  13. %%%%i@@
  14. firstnib
  15. checkSpelling:
  16. alignSelCenter:
  17.     unscript:
  18. pasteFont:
  19. runPageLayout:
  20. superscript:
  21. copyRuler:
  22.     copyFont:
  23. selectAll:
  24. pasteRuler:
  25. toggleRuler:
  26. showGuessPanel:
  27. printPSCode:
  28. alignSelLeft:
  29. paste:
  30. performClose:
  31. arrangeInFront:
  32. subscript:
  33. copy:
  34. alignSelRight:
  35. delete:
  36. orderFrontColorPanel:
  37. underline:
  38. performMiniaturize:
  39. BananaSplit
  40. genericobject_nib
  41. aField
  42. bottomView
  43. doubleView
  44. topView
  45. aButton
  46. [7905c]
  47. typedstream
  48.     HashTable
  49. Object
  50. NXImage
  51. NXBitmapImageRep
  52. NXImageRep
  53. iissssFg
  54. [1854c]
  55. NibData
  56. @@@@s
  57. Storage
  58. {*@@}
  59.     [23{*@@}]
  60. File's Owner
  61. CustomObject
  62. Application
  63. MainMenu
  64. MenuTemplate
  65. *@*@ccc
  66. BananaSplit
  67. Matrix
  68. Control
  69.     Responder
  70. @:@iiii
  71. MenuCell
  72. ButtonCell
  73. ActionCell
  74. Info...
  75.     Helvetica
  76. Paste
  77. Select All
  78. ff@@#::s
  79. submenuAction:
  80. Bitmap
  81.     menuArrow
  82. MyWindow
  83. WindowTemplate
  84. iiii***@s@
  85. Banana Split
  86. Window
  87. CustomView
  88. NXSplitView
  89. BananaSplitInstance
  90.     Offscreen
  91. Offscreen Panel
  92. Panel
  93. ScrollView
  94. ClipView
  95. ciifffcfffs
  96. [654c]{\rtf0\ansi{\fonttbl\f1\fswiss Helvetica;}
  97. \margl40
  98. \margr40
  99. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f1\b0\i0\ul0\fs28 Why is this interesting?\
  100. When you have an NXSplitView, and it is resized, sometimes the automatic resizing gives you subviews that are too small to contain all the objects that are in the NXSplitView.  As a result, controls may be chopped off, and sometimes lost.  In this example, window resizing and NXSplitView resizing are constrained to avoid this.  The layout method is also overridden.  In order to achieve this, the minimum sizes had to be derived empirically (by playing with them).
  101. NXCursor
  102. NXibeam
  103. Scroller
  104. _doScroller:
  105. @@@ffs
  106. [421c]{\rtf0\ansi{\fonttbl\f1\fswiss Helvetica;}
  107. \margl40
  108. \margr40
  109. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f1\b\i0\ul0\fs28 BananaSplit
  110. \b0 \
  111. \fi1120 By Henry Krempel\
  112. \fi0     \
  113. A simple NXSplitView sizing example.\
  114. This example shows how to handle resizing with an NXSplitView.  The NXSplitView is constrained when it is resized and subviews are always allocated adequate space. \
  115. ScrollingText
  116. ScrollingText1
  117.     TextField
  118. TextFieldCell
  119. Version 1.0
  120. by Henry Krempel
  121. Button
  122. $Copyright 1991, NeXT Computer, Inc. 
  123. Button1
  124. Field1
  125. Field2
  126. VersionNumber
  127. Field
  128. {i*@@@}
  129. [13{i*@@@}]
  130. hide:
  131. terminate:
  132. copy:
  133. paste:
  134. selectAll:
  135. doubleView
  136. delegate
  137. topView
  138. makeKeyAndOrderFront:
  139. bottomView
  140.