This function will call foreach_func for each chord in the table.
foreach_func
a ShortcutChordTable
A callback for each chord
user data for foreach_func