home *** CD-ROM | disk | FTP | other *** search
/ Altsys Virtuoso 2.0K / virtuoso_20k.iso / NeXTanswers / OpenStepSpec_rtf / ApplicationKit / Classes / NSPrintPanel.rtf < prev    next >
Encoding:
Text File  |  1994-07-01  |  3.5 KB  |  77 lines

  1. {\rtf0\ansi\paperw16228 \paperh18648 \margl-907 \margr0 \margt0 \margb0 {\fonttbl\f0\fswiss Helvetica;\f1\froman Times;\f2\fmodern Courier;\f3\ftech Symbol;\f4\froman Palatino;}
  2. {\stylesheet{\s0 \li100 \fi0 \ri1007 \ql   1Head;}
  3. {\s1 \li100 \fi0 \ri1007 \ql   ClassName;}
  4. {\s2 \li2872 \fi-2771 \ri1007 \ql \tx2872   ConformsTo;}
  5. {\s3 \li2872 \fi-2771 \ri1007 \ql   DeclaredIn;}
  6. {\s4 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030   Description;}
  7. {\s5 \li7030 \fi-5796 \ri1007 \ql   DescriptionPart;}
  8. {\s6 \li0 \fi0 \ri0 \ql \tx-25 \tx8290 \tx9172   Footer;}
  9. {\s7 \li2872 \fi-2771 \ri1007 \ql \tx2872   InheritsFrom;}
  10. {\s8 \li100 \fi0 \ri1007 \ql   Summary;}
  11. }
  12. \li0 \fi0 \ri0 \ql \sb0 \f1 \fs24 
  13. (Preliminary Documentation) Copyright \f3 \'e3\f1 1994 by NeXT Computer, Inc.  All Rights Reserved.\
  14. \
  15. \s0 \li100 \fi0 \ri1007 \ql \f0 \b \fs36 \fs16 \
  16. \
  17. \
  18. \
  19. \
  20. \
  21. \
  22. \fs36 NSPrintPanel \
  23. \pard \s7 \li2872 \fi-2771 \ri1007 \ql \tx2872 \f1 \b0 \fs28 \fs16 \
  24. \
  25. \
  26. \fs28 \f0 \b \fs28 Inherits From:    \b0 \fs28 \f1 NSPanel : NSWindow : NSResponder : NSObject \
  27. \fs16 \
  28. \fs28 \s3 \fs16 \fs28 \f0 \b \fs28 Declared In:    \b0 \fs28 \f1 appkit/NSPrintPanel.h \
  29. \fs16 \
  30. \fs28 \pard \s8 \li100 \fi0 \ri1007 \ql \f0 \b \fs28 \fs16 \
  31. \
  32. \fs28 Creating an NSPrintPanel \
  33. \fs16 \
  34. \fs28 \pard \s4 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 + (NSPrintPanel *)\b printPanel\b0     Returns a default NSPrintPanel object.\
  35. \fi-6552 \pard \s8 \li100 \fi0 \ri1007 \ql \f0 \b \fs16 \
  36. \
  37. \
  38. \fs28 Customizing the Panel \
  39. \fs16 \
  40. \fs28 \pard \s4 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (void)\b setAccessoryView:\b0 (NSView *)\i aView\i0     Adds a view to the panel.\
  41. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (NSView *)\b accessoryView\b0     Returns the accessory view.\
  42. \fi-6552 \pard \s8 \li100 \fi0 \ri1007 \ql \f0 \b \fs16 \
  43. \
  44. \
  45. \fs28 Running the Panel \
  46. \fs16 \
  47. \fs28 \pard \s4 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (int)\b runModal\b0     Displays the Print panel and begins its event loop.\
  48. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b pickedButton:\b0 (id)\i sender\i0     Stops the event loop.\
  49. \fi-6552 \pard \s8 \li100 \fi0 \ri1007 \ql \f0 \b \fs16 \
  50. \
  51. \
  52. \fs28 Updating the Panel\'27s Display \
  53. \fs16 \
  54. \fs28 \pard \s4 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (void)\b pickedAllPages:\b0 (id)\i sender\i0     Updates the panel when the user chooses all pages.\
  55. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b pickedLayoutList:\b0 (id)\i sender\i0     Updates the panel when the user chooses a new layout.\
  56. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (BOOL)\b textShouldChange:\b0 (NSText *)\i textObject\i0     Updates the panel when the user begins to edit the number of pages to print.  See the NSText specification for details.\
  57. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (BOOL)\b textShouldEnd:\b0 (NSText *)\i textObject\i0     Updates the panel when the user ends editing the number of pages to print.  See the NSText specification for details.\
  58. \fi-6552 \pard \s8 \li100 \fi0 \ri1007 \ql \f0 \b \fs16 \
  59. \
  60. \
  61. \fs28 Communicating with the NSPrintInfo Object \
  62. \fs16 \
  63. \fs28 \pard \s4 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (void)\b updateFromPrintInfo\b0     Reads NSPrintPanel\'27s values from the NSPrintInfo object.\
  64. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b finalWritePrintInfo\b0     Writes NSPrintPanel\'27s values to the NSPrintInfo object.\
  65. \fi-6552 \pard \s0 \li100 \fi0 \ri1007 \tx478 \tx856 \tx1234 \fs28 \fs16 \
  66. \
  67. \fs28 \
  68. \fs16 \
  69. \
  70. \fs28 \pard \s0 \
  71. \li100 \fi0 \ri1007 \fs16 \
  72. \
  73. \fs28 \
  74. \fs16 \
  75. \
  76. \fs28 }
  77.