can anybody point me to a documentation or give an answer to the following problem:
- my application provides help for most of the widgets on a window. Help shal be provided by pressing the 'F1' function key.
- on the bottom of the window I provide a number of standard buttons, such as OK, Cancel and so on. A 'Help' button shall be provided as well.
For the button, I just use (it's all in perl)
$button->signal_connect('clicked' => $helpFunc, $dtaPtr)
which works fine. My questions:
1. How can I achieve that pressing 'F1' triggers the same behaviour (namely a popup window with some help text) ?
2. If 'F1' was used instead of the 'Help' button: How can I optically 'simulate' that a 'Help' button was clicked? (accelerator ..?)
What I would like to have is a guideline, in C, C++ or perl, any of these is allright. To find out the particular equivalent perl calls is not a big issue (I hope :-o).
Your help is very much appreciated.