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 /


CategorizeKeyCommands

CategorizeKeyCommands(keyCommandArray)

Categorizes an array of key command frames.

keyCommandArray
An array of keyCommand frames.

return value
Undefined; do not rely on it.

DISCUSSION

This function sorts the keyCommandArray by category. Within each category, the keyCommand frames are sorted by name. *CategorizeKeyCommands returns an array of frames that describe each category and its key commands. For example:

{ category: "myName", keyCommands: [ kc1, kc2, kc3...] }

You can use this function to create your own popup command key help slip.


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