next up previous contents
Next: The "move" mode Up: Menu engine Previous: Initialisation   Contents


Define the enabled keys

You can choose the keys you want to handle, and the key you don't want to use. Here is the definition of the keys which are supported:


\begin{lstlisting}
/* code to enable the key for the menu */
...

So if you just want to use the F1 and F4 key, you should write:
\begin{lstlisting}
hMenu mymenu = { .nb=...
.key_able=HMENU_ENABLE_F1 & HMENU_ENABLE_F4,
...
};
\end{lstlisting}



2006-02-19