Toolbar button accelerators



I have a window with a toolbar of several buttons. I want to make the
keyboard 'F1','F2','F3' to have the same effect as clicking these
buttons. How do I do this? I see in the examples how to connect the
accelerators to subs in the program, but is there a way to connect them
directly to the buttons? Or do I need to write a sub and within that
call the $button->clicked()

Thanks!

Jim





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]