Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 7 - Classes and Methods / CyberSession


SetNotebook

Sets the notebook part and its extension.

void SetNotebook (in ODPart notebookPart);
notebookPart
The ODPart object to be used as the notebook. The ODPart object must have an extension subclassed from CyberNotebookExtension.
DISCUSSION
This method designates the specified part as the notebook part. If you develop your own notebook part, you can call this method to notify the session object that your notebook part should be used as the notebook. If the user opens a notebook stored as a part in the Finder, Cyberdog calls this method to designate the part as the notebook.

The specified part must have an extension subclassed from CyberNotebookExtension and a part kind of kNotebookManagerKind.

Do not subclass this class.

SEE ALSO
The GetNotebook method (page 364).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996