Rules for Tools/popupkey()
popupkey()
SYNOPSIS
char popupkey(struct Window *window, char originalkey)
ARGUMENTS
`struct Window *window'
Current window.
`char originalkey'
Previous key.
DESCRIPTION
`popupkey()' displays an octave of piano keys under the mouse so
the user can select a key from the octave. Provide the previous
key in `originalkey' and `popupkey()' will return that keyif the
user does not select a new key. The returned key ranges from 0,
for C at the bottom of the octave, to 11, for B at the top of the
octave.
Use `popupkey()' in conjunction with `popupoctave()' to select
MIDI notes.
SEE
See popupoctave().