From taking a look at
Tk::bind, it looks like you can bind events to the toplevel window.. in this case you're probably looking for the KeyPress or KeyRelease events .. Your callback would then just check if it was 'F' that was pressed, and then just invoke your
Tk::Menu or
Tk::Menu::Item object.