Title Banner

Previous Book Contents Book Index Next

Newton Developer Technical Information: Newton Programmer's Guide: 2.1 OS Addendum /
Chapter 4 - Keyboard Enhancements / Keyboard Reference
Methods and Functions for Handling Command Keys /


AddKeyCommands

view:AddKeyCommands(arrayOfKeyCommandFrames)

Associates a collection of key commands with the view.

arrayOfKeyCommandFrames
An array of key command frames, as described in "The Command-Key Mapping Frame".

return value
Undefined; do not rely on it.

DISCUSSION

You can call the *AddKeyCommands method from your ViewSetupDoneScript.

This method is efficient for adding an array of key commands at once. A minimum of cloning is performed; in the case that a view already has one or more keyCommands defined, some cloning is performed.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
26 APR 1997



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help