Contents page

Rules for Tools/popuprhythm()


popuprhythm()
SYNOPSIS
     struct Rhythm *popuprhythm(struct Rhythm *originalrhythm)

ARGUMENTS
    `struct Rhythm  *originalrhythm'
          Previous rhythm.

DESCRIPTION
     `popuprhythm()' opens a scrolling pop-up menu with all of the
     system rhythms and lets the user choose a new rhythm.
     `popuprhythm()' returns a pointer to the selected rhythm.  If the
     user doesn't select any rhythm, `popuprhythm()' returns the
     previous rhythm, originalrhythm.  If there was no previous rhythm
     (originalrhythm == 0), and the user does not select a new one
     (`popuprhythm()' returns 0), be sure to handle this gracefully.

SEE
     See popupscale(), popupchord().